From 62e7f95cdc9a3250e15eaae27260cb07ef255ef8 Mon Sep 17 00:00:00 2001 From: Yongfeng Du Date: Thu, 17 Nov 2016 13:52:55 +0800 Subject: [PATCH] Fix /etc/kolla permission Add preceding 0 to the permission, otherwise it will be regard as decimal. TrivialFix Change-Id: I762b38a71143df9f378f74e534643534f2bc68b8 --- ansible/roles/baremetal/tasks/pre-install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/baremetal/tasks/pre-install.yml b/ansible/roles/baremetal/tasks/pre-install.yml index 0ea5e5a18d..6f567f3193 100644 --- a/ansible/roles/baremetal/tasks/pre-install.yml +++ b/ansible/roles/baremetal/tasks/pre-install.yml @@ -123,7 +123,7 @@ recurse: yes owner: kolla group: kolla - mode: 755 + mode: 0755 become: True when: create_kolla_user | bool == True @@ -132,6 +132,6 @@ path: /etc/kolla state: directory recurse: yes - mode: 666 + mode: 0666 become: True when: create_kolla_user | bool == False