fix files
This commit is contained in:
+2
-2
@@ -23,7 +23,7 @@
|
||||
- debug: var=playbook_path_output.stdout
|
||||
|
||||
- name: Local Dicrectory for Docker Compose File
|
||||
shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||
shell: mkdir /home/chiefsoft/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||
|
||||
|
||||
# # - name: Copy file from 10.10.10.13 to Local Directory
|
||||
@@ -32,7 +32,7 @@
|
||||
# shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||
|
||||
- name: Copy file from 10.10.10.13 to Local Directory
|
||||
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml /home/chiefsoft/parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||
vars:
|
||||
password_variable: "May12002!x" # Or, preferably, use Ansible Vault
|
||||
|
||||
|
||||
+2
-2
@@ -23,7 +23,7 @@
|
||||
- debug: var=playbook_path_output.stdout
|
||||
|
||||
- name: Local Dicrectory for Docker Compose File
|
||||
shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||
shell: mkdir /home/chiefsoft/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||
|
||||
|
||||
# # - name: Copy file from 10.10.10.13 to Local Directory
|
||||
@@ -32,7 +32,7 @@
|
||||
# shell: mkdir /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||
|
||||
- name: Copy file from 10.10.10.13 to Local Directory
|
||||
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml /home/chiefsoft/parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||
vars:
|
||||
password_variable: "May12002!x" # Or, preferably, use Ansible Vault
|
||||
|
||||
|
||||
Reference in New Issue
Block a user