Merge "Fix distro installs"

This commit is contained in:
Zuul 2020-04-14 23:27:56 +00:00 committed by Gerrit Code Review
commit ccee1482ec

View File

@ -43,6 +43,15 @@
- "{{ swift.storage_policies }}"
- [{ type: 'object', port: "{{ swift_object_port }}" }]
- name: Ensure swift config directory permissions
file:
path: /etc/swift/
state: directory
owner: "{{ swift_system_user_name }}"
group: "{{ swift_system_group_name }}"
recurse: yes
when: swift_install_method == 'distro'
- name: "Build rings for account/container from contents files"
command: "/etc/swift/scripts/swift_rings.py -f /etc/swift/scripts/{{ item[0] }}.contents{% if item[1] %} -r {{ item[1] }}{% endif %}{{ (swift_pretend_min_part_hours_passed | bool) | ternary(' -p', '')}}"
with_nested: