Create /etc/ansible if it doesn't exist

This commit is contained in:
Jukka Nousiainen 2021-07-25 00:44:49 +03:00 committed by Andreas B. Mundt
parent c56745215e
commit 1a0b2614bc

View file

@ -197,6 +197,7 @@
- name: add clients to inventory
blockinfile:
dest: /etc/ansible/hosts
create: yes
block: |
[kerberox-client]
{{ in_inventory }}