Skip to content

Commit

Permalink
Ensure remote.dir is present before moving script
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-kuchler committed Mar 14, 2024
1 parent 9be0d00 commit d757169
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/roles/setup-suite/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@


- name: Move python multi-command runner to remote
ansible.builtin.copy:
src: resources/runner.py
dest: "{{ remote.dir }}/runner.py"
block:
- name: Create dirs in path
ansible.builtin.file:
path: "{{ remote.dir }}"
state: directory
recurse: yes
- name: Move python runner
ansible.builtin.copy:
src: resources/runner.py
dest: "{{ remote.dir }}/runner.py"

0 comments on commit d757169

Please sign in to comment.