diff --git a/deployment/octavia/octavia-deployment-config.j2.yaml b/deployment/octavia/octavia-deployment-config.j2.yaml index 7ef1c98ee3..eeefb9dd34 100644 --- a/deployment/octavia/octavia-deployment-config.j2.yaml +++ b/deployment/octavia/octavia-deployment-config.j2.yaml @@ -246,9 +246,11 @@ outputs: set_fact: octavia_ansible_group_vars: { get_attr: [OctaviaVars, value, vars] } - name: Make needed directories on the undercloud + become: true file: path: "{{item}}" state: directory + owner: "{{ ansible_user }}" with_items: - "{{ octavia_ansible_group_vars.octavia_local_tmpdir }}" - "{{ octavia_ansible_group_vars.octavia_group_vars_dir }}"