added flag for not populating inventory entries to etc hosts file

This commit is contained in:
Martin Joehren
2017-06-30 12:17:03 +00:00
parent 6e7323e3e8
commit c2b3920b50
2 changed files with 5 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
create: yes
backup: yes
marker: "# Ansible inventory hosts {mark}"
when: populate_inventory_to_hosts_file
- name: Hosts | populate kubernetes loadbalancer address into hosts file
lineinfile: