manipulate hosts only on request

This commit is contained in:
2022-02-24 22:26:35 +01:00
parent 03af41c9e2
commit cd38915212
2 changed files with 3 additions and 1 deletions

View File

@@ -6,4 +6,5 @@
owner: 'root'
group: 'root'
loop:
- { ip: '192.168.1.240', fqdn: 'gitlab.social.my-wan.de'}
- { ip: '192.168.1.240', fqdn: 'gitlab.social.my-wan.de'}
when: set_hosts is defined and set_hosts == true