Update permissions on execution path folders

The execution and configuration path are being craeted by the role and
if the role is the first to create the the permissions will be 750 and
could restrict other services, like nova, from starting. This change
updates the permissions to 755 which will ensure normal read and
execution permissions are set.

Change-Id: I2d6e533392447a8096b7c5cd5ca453c78c65d1ab
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-08-13 12:06:31 -05:00
parent ab5a04ec42
commit 531b87d870
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3
1 changed files with 3 additions and 3 deletions

View File

@ -56,8 +56,8 @@
src: "{{ item.src | default(omit) }}"
dest: "{{ item.dest | default(omit) }}"
state: "{{ item.state | default('directory') }}"
owner: "{{ item.owner|default(neutron_system_user_name) }}"
group: "{{ item.group|default(neutron_system_group_name) }}"
owner: "{{ item.owner | default(neutron_system_user_name) }}"
group: "{{ item.group | default(neutron_system_group_name) }}"
mode: "{{ item.mode | default(omit) }}"
force: "{{ item.force | default(omit) }}"
when:
@ -67,7 +67,7 @@
owner: "root"
group: "root"
- path: "{{ (neutron_install_method == 'distro') | ternary(neutron_conf_dir, (neutron_bin | dirname) + '/etc/neutron') }}"
mode: "0750"
mode: "0755"
# NOTE(cloudnull): The "src" path is relative. This ensures all files remain
# within the host/container confines when connecting to
# them using the connection plugin or the root filesystem.