Paths
This commit is contained in:
+11
-4
@@ -9,10 +9,17 @@
|
|||||||
mode: 0775
|
mode: 0775
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
# - name: Copy file from 10.10.10.13 to Local Directory
|
- name: Local Dicrectory for Docker Compose File
|
||||||
# shell: scp ~/.ssh/id_rsa.pub {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
ansible.builtin.file:
|
||||||
- name: Local Dicrectory for Docker Compose File
|
path: /home/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
state: directory
|
||||||
|
register: local_dir
|
||||||
|
delegate_to: localhost
|
||||||
|
|
||||||
|
# # - name: Copy file from 10.10.10.13 to Local Directory
|
||||||
|
# # shell: scp ~/.ssh/id_rsa.pub {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||||
|
# - name:
|
||||||
|
# shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
|
|
||||||
- name: Copy file from 10.10.10.13 to Local Directory
|
- name: Copy file from 10.10.10.13 to Local Directory
|
||||||
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||||
|
|||||||
+11
-4
@@ -9,10 +9,17 @@
|
|||||||
mode: 0775
|
mode: 0775
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
# - name: Copy file from 10.10.10.13 to Local Directory
|
- name: Local Dicrectory for Docker Compose File
|
||||||
# shell: scp ~/.ssh/id_rsa.pub {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
ansible.builtin.file:
|
||||||
- name: Local Dicrectory for Docker Compose File
|
path: /home/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
state: directory
|
||||||
|
register: local_dir
|
||||||
|
delegate_to: localhost
|
||||||
|
|
||||||
|
# # - name: Copy file from 10.10.10.13 to Local Directory
|
||||||
|
# # shell: scp ~/.ssh/id_rsa.pub {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||||
|
# - name:
|
||||||
|
# shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
|
|
||||||
- name: Copy file from 10.10.10.13 to Local Directory
|
- name: Copy file from 10.10.10.13 to Local Directory
|
||||||
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||||
|
|||||||
+12
-4
@@ -9,10 +9,18 @@
|
|||||||
mode: 0775
|
mode: 0775
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
# - name: Copy file from 10.10.10.13 to Local Directory
|
- name: Local Dicrectory for Docker Compose File
|
||||||
# shell: scp ~/.ssh/id_rsa.pub {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
ansible.builtin.file:
|
||||||
- name: Local Dicrectory for Docker Compose File
|
path: /home/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
state: directory
|
||||||
|
register: local_dir
|
||||||
|
delegate_to: localhost
|
||||||
|
|
||||||
|
# # - name: Copy file from 10.10.10.13 to Local Directory
|
||||||
|
# # shell: scp ~/.ssh/id_rsa.pub {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||||
|
# - name:
|
||||||
|
# shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
|
|
||||||
|
|
||||||
- name: Copy file from 10.10.10.13 to Local Directory
|
- name: Copy file from 10.10.10.13 to Local Directory
|
||||||
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||||
|
|||||||
+12
-4
@@ -8,11 +8,19 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: 0775
|
mode: 0775
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
|
- name: Local Dicrectory for Docker Compose File
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /home/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
|
state: directory
|
||||||
|
register: local_dir
|
||||||
|
delegate_to: localhost
|
||||||
|
|
||||||
|
# # - name: Copy file from 10.10.10.13 to Local Directory
|
||||||
|
# # shell: scp ~/.ssh/id_rsa.pub {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||||
|
# - name:
|
||||||
|
# shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
|
|
||||||
# - name: Copy file from 10.10.10.13 to Local Directory
|
|
||||||
# shell: scp ~/.ssh/id_rsa.pub {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
|
||||||
- name: Local Dicrectory for Docker Compose File
|
|
||||||
shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
|
||||||
|
|
||||||
- name: Copy file from 10.10.10.13 to Local Directory
|
- name: Copy file from 10.10.10.13 to Local Directory
|
||||||
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||||
|
|||||||
+12
-4
@@ -9,10 +9,18 @@
|
|||||||
mode: 0775
|
mode: 0775
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
# - name: Copy file from 10.10.10.13 to Local Directory
|
- name: Local Dicrectory for Docker Compose File
|
||||||
# shell: scp ~/.ssh/id_rsa.pub {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
ansible.builtin.file:
|
||||||
- name: Local Dicrectory for Docker Compose File
|
path: /home/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
state: directory
|
||||||
|
register: local_dir
|
||||||
|
delegate_to: localhost
|
||||||
|
|
||||||
|
# # - name: Copy file from 10.10.10.13 to Local Directory
|
||||||
|
# # shell: scp ~/.ssh/id_rsa.pub {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||||
|
# - name:
|
||||||
|
# shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
|
|
||||||
|
|
||||||
- name: Copy file from 10.10.10.13 to Local Directory
|
- name: Copy file from 10.10.10.13 to Local Directory
|
||||||
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user