diff --git a/ansible/roles/swift/tasks/reconfigure.yml b/ansible/roles/swift/tasks/reconfigure.yml index 5b5ef0aece..09442fd962 100644 --- a/ansible/roles/swift/tasks/reconfigure.yml +++ b/ansible/roles/swift/tasks/reconfigure.yml @@ -32,7 +32,7 @@ - include_tasks: config.yml - name: Check the configs - command: docker exec {{ item.name }} /usr/local/bin/kolla_set_configs --check + command: docker exec -u root {{ item.name }} /usr/local/bin/kolla_set_configs --check changed_when: false failed_when: false register: check_results