make it all or host var
This commit is contained in:
parent
a669e4cbeb
commit
1579d87cce
@ -4,7 +4,7 @@
|
|||||||
# provide an ansible host group name. You can also just use "all" if you
|
# provide an ansible host group name. You can also just use "all" if you
|
||||||
# want to ensure all systems are up to date on the configuration.
|
# want to ensure all systems are up to date on the configuration.
|
||||||
- name: Configure system
|
- name: Configure system
|
||||||
hosts: all
|
hosts: "{{ host|default('all') }}"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
# This is to try to avoid the handler issue in pre/post tasks
|
# This is to try to avoid the handler issue in pre/post tasks
|
||||||
|
Loading…
Reference in New Issue
Block a user