Add a judgement condition in file pre-install.yml
keep consistent with above TrivialFix Change-Id: Ia4b531eae1eb31b047b3486861c30c93abb8132d
This commit is contained in:
parent
430ddf9dd3
commit
409b635b45
@ -28,7 +28,7 @@
|
||||
{% for host in groups['all'] %}
|
||||
{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }} {{ hostvars[host]['ansible_hostname'] }}
|
||||
{% endfor %}
|
||||
when: customize_etc_hosts | bool
|
||||
when: customize_etc_hosts | bool == True
|
||||
|
||||
- name: ensure sudo group is present
|
||||
group: name=sudo state=present
|
||||
|
Loading…
x
Reference in New Issue
Block a user