diff options
| author | zeyu Zhu <zhu.zeyu@zte.com.cn> | 2016-10-22 16:32:19 +0800 |
|---|---|---|
| committer | zeyu Zhu <zhu.zeyu@zte.com.cn> | 2016-10-24 17:29:51 +0800 |
| commit | 409b635b455c9dad04ed688b9a4e1e43346218bc (patch) | |
| tree | 0dfe583a8da057796b0e52c6109cf7b2f6b8b31d | |
| parent | 430ddf9dd3fb50c910631eb331a21c1af24ab43c (diff) | |
| download | kolla-409b635b455c9dad04ed688b9a4e1e43346218bc.tar.gz kolla-409b635b455c9dad04ed688b9a4e1e43346218bc.zip | |
Add a judgement condition in file pre-install.yml
keep consistent with above
TrivialFix
Change-Id: Ia4b531eae1eb31b047b3486861c30c93abb8132d
| -rw-r--r-- | ansible/roles/baremetal/tasks/pre-install.yml | 2 |
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 |
