Add clients to server's inventory file.
This commit is contained in:
parent
118e9ceac6
commit
0b00ac560c
2 changed files with 10 additions and 0 deletions
|
@ -146,3 +146,12 @@
|
|||
dest: "/etc/systemd/system/git-repo.service"
|
||||
notify: start git-repo
|
||||
when: not run_in_installer|default(false)|bool
|
||||
|
||||
######################
|
||||
|
||||
- name: add clients to inventory
|
||||
blockinfile:
|
||||
dest: /etc/ansible/hosts
|
||||
block: |
|
||||
[kerberox-client]
|
||||
{{ in_inventory }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue