Merge "Ensure 0755 default mode on new directories"

This commit is contained in:
Jenkins 2017-01-26 09:11:24 +00:00 committed by Gerrit Code Review
commit ed41f565a0
2 changed files with 2 additions and 1 deletions

View File

@ -81,6 +81,7 @@
file:
path: "{{ swift_bin | dirname }}"
state: directory
mode: "0755"
register: swift_venv_dir
when: swift_get_venv | changed

View File

@ -48,7 +48,7 @@
group: "{{ item.group|default(swift_system_group_name) }}"
mode: "{{ item.mode|default('0755') }}"
with_items:
- { path: "/openstack", owner: "root", group: "root" }
- { path: "/openstack/venvs", owner: "root", group: "root" }
- { path: "/etc/swift" }
- { path: "/etc/swift/account-server" }
- { path: "/etc/swift/backups" }