This commit is contained in:
CHIEFSOFT\ameye
2025-07-16 21:55:37 -04:00
parent 7011f91694
commit e4d67ca56a
5 changed files with 58 additions and 20 deletions
+11 -4
View File
@@ -9,10 +9,17 @@
mode: 0775
recurse: yes
# - 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: 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: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
+11 -4
View File
@@ -9,10 +9,17 @@
mode: 0775
recurse: yes
# - 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: 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: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
+12 -4
View File
@@ -9,10 +9,18 @@
mode: 0775
recurse: yes
# - 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: 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: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
+12 -4
View File
@@ -8,11 +8,19 @@
state: directory
mode: 0775
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
shell: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
+12 -4
View File
@@ -9,10 +9,18 @@
mode: 0775
recurse: yes
# - 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: 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: sshpass -p '{{ password_variable }}' scp {{WHAT_PART_REMOTE}}/docker-compose.yml parts/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml