Create /etc/ansible if it doesn't exist
This commit is contained in:
parent
c56745215e
commit
1a0b2614bc
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@
|
||||||
- name: add clients to inventory
|
- name: add clients to inventory
|
||||||
blockinfile:
|
blockinfile:
|
||||||
dest: /etc/ansible/hosts
|
dest: /etc/ansible/hosts
|
||||||
|
create: yes
|
||||||
block: |
|
block: |
|
||||||
[kerberox-client]
|
[kerberox-client]
|
||||||
{{ in_inventory }}
|
{{ in_inventory }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue