Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add playbooks to specify multiple playbooks to run #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

syndbg
Copy link
Contributor

@syndbg syndbg commented Feb 15, 2019

Adds playbooks config.

Why

When running "complex" playbook provisioning scenarios before testing, you may need to re-use different playbooks.

For example I was testing playbooks.

However for the release process provisioning from scratch you execute e.g playbook db.yml and web.yml.

They're separate and if I was to create a new playbook that includes both roles used, I wouldn't test the actual playbooks executed.

So with this change usage is

provisioner:
  name: ansible_push
  playbooks:
    - db.yml
    - web.yml

Anything other than an Array will be marked as invalid configuration. E.g

provisioner:
  name: ansible_push
  playbooks: {}

Important

Includes #51

@ahelal

@syndbg syndbg force-pushed the multiple-playbooks branch 2 times, most recently from 9ba8725 to 4c6d2d6 Compare February 15, 2019 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant