diff --git a/deployment/octavia/octavia-deployment-config.j2.yaml b/deployment/octavia/octavia-deployment-config.j2.yaml index 123a0dc1a8..718758fb66 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 }}"