This is my hosts:
[main_node]
1.2.3.4
[child_node]
1.2.3.4:2222
child_node is virtual container inside the main_node
why
ansible-playbook --diff --limit=child_node lc.yml --list-hosts
playbook: lc.yml
play #3 (main node): host count=1
1.2.3.4
play #4 (child node): host count=1
1.2.3.4
*lc.yml*
- name: main node
hosts: main_node
roles:
- common
- zabbix-agent
- name: child node
hosts: child_node
roles:
- common
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/bdff5b84-a6a0-4908-bfd3-503d4cd72cea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.