Merge "Fix distro installs"
This commit is contained in:
commit
ccee1482ec
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user