concept playbook in category legacy software
appears as: playbook, playbooks

This is an excerpt from Manning's book Re-Engineering Legacy Software.
We need to tell the playbook to use our new Java role, so let’s update the provisioning/playbook.yml file. It should now look like this.
Notice how the playbook references the common postgresql role. In this case we accept the role’s default values for the PostgreSQL configuration, but if we wanted to override them we could do so like this:
- hosts: postgres sudo: yes vars: db_user: uad db_password: abc database: uad roles: - { role: ../common_roles/postgresql, max_connections: 10 }After moving all our Ansible scripts to a common repository, one question arises: how can we use them when we want to provision a Vagrant VM? Until now the playbook and roles were inside the application’s Git repository so it was easy to tell Vagrant where to find them.