diff --git a/roles/fetch-zuul-cloner/tasks/main.yaml b/roles/fetch-zuul-cloner/tasks/main.yaml index 6ef2b806b..f7432ed0e 100644 --- a/roles/fetch-zuul-cloner/tasks/main.yaml +++ b/roles/fetch-zuul-cloner/tasks/main.yaml @@ -1,10 +1,17 @@ +- name: Create zuul-cloner destination directory + file: + path: "{{ destination | dirname }}" + state: directory + become: yes + - name: Install zuul-cloner shim - delegate_to: localhost template: src: templates/zuul-cloner-shim.py.j2 dest: "{{ destination }}" + become: yes - name: Change zuul-cloner permissions file: path: "{{ destination }}" mode: 0755 + become: yes