Add optional hosts parameter to examples to show how we can
override the host file in a playbook to load different groups of hosts.
This commit is contained in:
parent
cb90df2377
commit
3c3111c1f3
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
- pattern: '*'
|
- pattern: '*'
|
||||||
|
hosts: '/etc/ansible/hosts'
|
||||||
tasks:
|
tasks:
|
||||||
- do:
|
- do:
|
||||||
- configure template & module variables
|
- configure template & module variables
|
||||||
|
|
Loading…
Reference in a new issue