Ansible
Specific playbook actions only when host is in other hostgroup
Archives
Ansible Project
ansible-project
Serge_van_Ginderacht
(Serge van Ginderachter)
March 23, 2013, 3:40pm
1
only_if: ‘“webservers” in $group_names’
Serge
Related topics
Topic
Replies
Views
Activity
Specific playbook actions only when host is in other hostgroup
Ansible Project
ansible-project
5
2
March 24, 2013
Ansible execute code when Host is a part of of Group X
Ansible Project
2
5
July 2, 2018
Create user on host if is in specific group
Ansible Project
ansible-project
2
2
December 15, 2014
test host for group membership
Ansible Project
ansible-project
1
5
October 24, 2012
Run task only if server belong to some group.
Ansible Project
7
45
January 9, 2015