aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-10-24 11:17:04 +0000
committerGerrit Code Review <review@openstack.org>2016-10-24 11:17:04 +0000
commite3036c33dce3d5ba56ae97b5942e779df010b284 (patch)
tree134318279e83672aefb58a558c9376962f3f7a26
parenta1800d933c8c8e6badd1f4fe315ccedf895c6646 (diff)
parent409b635b455c9dad04ed688b9a4e1e43346218bc (diff)
downloadkolla-e3036c33dce3d5ba56ae97b5942e779df010b284.tar.gz
kolla-e3036c33dce3d5ba56ae97b5942e779df010b284.zip
Merge "Add a judgement condition in file pre-install.yml"
-rw-r--r--ansible/roles/baremetal/tasks/pre-install.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/baremetal/tasks/pre-install.yml b/ansible/roles/baremetal/tasks/pre-install.yml
index 43993229a..20988ecc0 100644
--- a/ansible/roles/baremetal/tasks/pre-install.yml
+++ b/ansible/roles/baremetal/tasks/pre-install.yml
@@ -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