Merge "Do not change mode of files recursively"
This commit is contained in:
commit
99499ec289
@ -29,15 +29,15 @@
|
|||||||
include_tasks: horizon_post_install_source.yml
|
include_tasks: horizon_post_install_source.yml
|
||||||
when: horizon_install_method == 'source'
|
when: horizon_install_method == 'source'
|
||||||
|
|
||||||
# NOTE(noonedeadpunk): change of permission is required for collectstatic and compilemessages
|
# NOTE(noonedeadpunk): change of ownership is required for collectstatic and compilemessages
|
||||||
- name: Ensure horizon dirs are accessible by user
|
- name: Ensure horizon dirs are accessible by user
|
||||||
file:
|
file:
|
||||||
path: "{{ item.path }}"
|
path: "{{ item.path }}"
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ horizon_system_user_name }}"
|
owner: "{{ horizon_system_user_name }}"
|
||||||
group: "{{ horizon_system_group_name }}"
|
group: "{{ horizon_system_group_name }}"
|
||||||
mode: "0755"
|
mode: "{{ item.mode | default(omit) }}"
|
||||||
recurse: yes
|
recurse: "{{ item.recurse | default(True) }}"
|
||||||
with_items:
|
with_items:
|
||||||
- { path: "{{ horizon_lib_dir }}", fixup: True }
|
- { path: "{{ horizon_lib_dir }}", fixup: True }
|
||||||
- { path: "/etc/openstack-dashboard", fixup: "{{ (ansible_facts['os_family'] | lower) == 'redhat' }}" }
|
- { path: "/etc/openstack-dashboard", fixup: "{{ (ansible_facts['os_family'] | lower) == 'redhat' }}" }
|
||||||
|
Loading…
Reference in New Issue
Block a user