LOcal folder
This commit is contained in:
+5
-5
@@ -11,11 +11,11 @@
|
|||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
- name: "Creates local directory for composer {{ ANSIBLE_TRANSPORT_PATH }}"
|
- name: "Creates local directory for composer {{ ANSIBLE_TRANSPORT_PATH }}"
|
||||||
ansible.builtin.file:
|
delegate_to: localhost
|
||||||
path: "/home/semaphore/parts/{{ ANSIBLE_TRANSPORT_PATH }}"
|
path: "/home/semaphore/parts/{{ ANSIBLE_TRANSPORT_PATH }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0775
|
mode: 0775
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
# - name: Copy file from machine1 to machine2
|
# - name: Copy file from machine1 to machine2
|
||||||
# shell: sshpass -p '{{ RSYNC_PASSWORD }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
# shell: sshpass -p '{{ RSYNC_PASSWORD }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user