diff --git a/ansible/roles/ceilometer/tasks/config.yml b/ansible/roles/ceilometer/tasks/config.yml index ca37980ed0..4195c2c98d 100644 --- a/ansible/roles/ceilometer/tasks/config.yml +++ b/ansible/roles/ceilometer/tasks/config.yml @@ -362,6 +362,7 @@ - "Restart {{ item.key }} container" - name: Copying VMware vCenter CA file + become: true vars: service: "{{ ceilometer_services['ceilometer-compute'] }}" copy: diff --git a/ansible/roles/neutron/tasks/config.yml b/ansible/roles/neutron/tasks/config.yml index ddb35d63fb..da1756b0b3 100644 --- a/ansible/roles/neutron/tasks/config.yml +++ b/ansible/roles/neutron/tasks/config.yml @@ -370,6 +370,7 @@ - "Restart {{ service_name }} container" - name: Copying over nsx.ini + become: true vars: service_name: "neutron-server" neutron_server: "{{ neutron_services[service_name] }}" diff --git a/releasenotes/notes/bug-missing-become-attributes-vmware-9ae97e49b4d7dc0d.yaml b/releasenotes/notes/bug-missing-become-attributes-vmware-9ae97e49b4d7dc0d.yaml new file mode 100644 index 0000000000..52db079863 --- /dev/null +++ b/releasenotes/notes/bug-missing-become-attributes-vmware-9ae97e49b4d7dc0d.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Add missing "become: true" on some VMWare related tasks. Fixed on + ``Copying VMware vCenter CA file`` and ``Copying over nsx.ini``.