Ansible Playbooks
Ansible Playbooks
Ansible leverages YAML manifest files called Playbooks. The Playbook will describe the infrastructure to build and is processed from top down. Here is a simple Playbook that will provision two identical servers:
example.yml
:
Execute a Playbook
If your credentials are not already defined:
The ansible-playbook
command will execute the above Playbook.
Last updated