Getting Started: Writing Your First Playbook

Welcome to another post in our Getting Started series. Keep reading to learn how to draft a Playbook that can be run in Ansible or Ansible Tower. You can also use it along with the Module Index and the other docs to build your own Playbooks later.
What is a Playbook?
Playbooks are esentially sets of instructions (plays) that you send to run on a single target or groups of targets (hosts). Think about the instructions you get for assembling an appliance or furniture. The manufacturer includes instructions so you can put the parts together in the correct order. When followed in order, the furniture looks like what was purchased.
That's basically how a Playbook works.
The Playbook we're building will install a web server on a target RHEL/CentOS 7 host, then write an index.html file based on a template file that will reside with the final Playbook. You'll be able to take the example Playbook and additional files from this blog and test it out for yourself. While going over the example Playbook, we'll explain the modules that are used.
AuthorsThe author adds instructions for the modules to run, often with additional values (arguments, locations, etc. Continue reading










SVP David Goeckeler will oversee the Viptela business.
Bitnami hopes to add more functionality and provide a unifying experience.
Talari inherited its WAN optimization technology by acquiring an unknown vendor.
S-Net Communications uses Versa’s SD-WAN.