fix files
This commit is contained in:
+3
-1
@@ -11,11 +11,13 @@
|
||||
|
||||
# - 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 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 parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||
vars:
|
||||
password_variable: "may12002!" # Or, preferably, use Ansible Vault
|
||||
password_variable: "May12002!x" # Or, preferably, use Ansible Vault
|
||||
|
||||
- name: Set up docker-compose file
|
||||
template:
|
||||
|
||||
+3
-1
@@ -11,11 +11,13 @@
|
||||
|
||||
# - 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 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 parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||
vars:
|
||||
password_variable: "may12002!" # Or, preferably, use Ansible Vault
|
||||
password_variable: "May12002!x" # Or, preferably, use Ansible Vault
|
||||
|
||||
- name: Set up docker-compose file
|
||||
template:
|
||||
|
||||
+3
-1
@@ -11,11 +11,13 @@
|
||||
|
||||
# - 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 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 parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||
vars:
|
||||
password_variable: "may12002!" # Or, preferably, use Ansible Vault
|
||||
password_variable: "May12002!x" # Or, preferably, use Ansible Vault
|
||||
|
||||
- name: Set up docker-compose file
|
||||
template:
|
||||
|
||||
+4
-2
@@ -11,12 +11,14 @@
|
||||
|
||||
# - 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 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 parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||
vars:
|
||||
password_variable: "may12002!" # Or, preferably, use Ansible Vault
|
||||
|
||||
password_variable: "May12002!x!" # Or, preferably, use Ansible Vault
|
||||
|
||||
- name: Set up docker-compose file
|
||||
template:
|
||||
src: "/home/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml"
|
||||
|
||||
+3
-1
@@ -11,11 +11,13 @@
|
||||
|
||||
# - 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 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 parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||
vars:
|
||||
password_variable: "may12002!" # Or, preferably, use Ansible Vault
|
||||
password_variable: "May12002!x" # Or, preferably, use Ansible Vault
|
||||
|
||||
- name: Set up docker-compose file
|
||||
template:
|
||||
|
||||
Reference in New Issue
Block a user