Merge "Add become for Cinder configuration tasks"

This commit is contained in:
Zuul 2018-10-03 12:41:30 +00:00 committed by Gerrit Code Review
commit 18fd836a67

View File

@ -49,6 +49,7 @@
- name: Copying over cinder-wsgi.conf
vars:
service: "{{ cinder_services['cinder-api'] }}"
become: true
template:
src: "{{ item }}"
dest: "{{ node_config_directory }}/cinder-api/cinder-wsgi.conf"
@ -88,6 +89,7 @@
- Restart cinder-backup container
- name: Copying over existing policy file
become: true
template:
src: "{{ cinder_policy_file_path }}"
dest: "{{ node_config_directory }}/{{ item.key }}/{{ cinder_policy_file }}"
@ -103,6 +105,7 @@
- Restart cinder-backup container
- name: Copying over nfs_shares files for cinder_volume
become: true
template:
src: "{{ item }}"
dest: "{{ node_config_directory }}/cinder-volume/nfs_shares"