---
- hosts: groupA
roles:
- main-role/groupa-status-check
- hosts: groupB
roles:
- main-role/groupb-status-check
- hosts: groupC
roles:
- main-role/groupc-status-check
Now after status check, I need to run 3 additional playbooks, one by one on all above groups. These playbooks are resided in subversion repository. These playbooks are required to be checked out with latest version. I found requirements.yml could be solution but I could not understand how this will be configured or how can I configure these pre-requites? I am new to ansible. Can someone please help how could I achieve this? Many Thanks
---
- hosts: groupA
pre_tasks:
-name: <Add your task>
roles:
- main-role/groupa-status-check
post_tasks:
-name: <Add your task>.
you can also go through this page: "http://docs.ansible.com/ansible/latest/playbooks_roles.html" for more information.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/LOMYqxh8pr4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b654b59a-e2f1-4200-b450-6dd55fedd221%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Example:
#meta/main.yml
Dependencies:
- ansiblr-role