28 lines
868 B
Diff
28 lines
868 B
Diff
--- /usr/share/kolla/ansible/roles/baremetal/tasks/pre-install.yml.old 2017-01-06 17:23:12.444746830 +0000
|
|
+++ /usr/share/kolla/ansible/roles/baremetal/tasks/pre-install.yml 2017-01-06 17:22:27.864278879 +0000
|
|
@@ -28,6 +28,7 @@
|
|
{% for host in groups['all'] %}
|
|
{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }} {{ hostvars[host]['ansible_hostname'] }}
|
|
{% endfor %}
|
|
+ become: True
|
|
when: customize_etc_hosts | bool
|
|
|
|
- name: ensure sudo group is present
|
|
@@ -126,7 +127,7 @@
|
|
recurse: yes
|
|
owner: kolla
|
|
group: kolla
|
|
- mode: 755
|
|
+ mode: 0755
|
|
become: True
|
|
when: create_kolla_user | bool == True
|
|
|
|
@@ -135,6 +136,6 @@
|
|
path: /etc/kolla
|
|
state: directory
|
|
recurse: yes
|
|
- mode: 666
|
|
+ mode: 0666
|
|
become: True
|
|
when: create_kolla_user | bool == False
|