Merge "Add a judgement condition in file pre-install.yml"

This commit is contained in:
Jenkins 2016-10-24 11:17:04 +00:00 committed by Gerrit Code Review
commit e3036c33dc

View File

@ -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