local fdir
This commit is contained in:
+13
-13
@@ -9,21 +9,21 @@
|
|||||||
mode: 0775
|
mode: 0775
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
# - name: Local Dicrectory for Docker Compose File
|
- name: Local Dicrectory for Docker Compose File
|
||||||
# ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
# # path: /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
# path: /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
# path: parts/{{ANSIBLE_TRANSPORT_PATH}}
|
path: WHERE_TEST{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
# state: directory
|
state: directory
|
||||||
# register: local_dir
|
register: local_dir
|
||||||
# delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|
||||||
- name: INFO - Find out playbooks path
|
# - name: INFO - Find out playbooks path
|
||||||
shell: pwd
|
# shell: pwd
|
||||||
register: playbook_path_output
|
# register: playbook_path_output
|
||||||
- debug: var=playbook_path_output.stdout
|
# - debug: var=playbook_path_output.stdout
|
||||||
|
|
||||||
- name: Local Dicrectory for Docker Compose File ON LOCAL
|
# - name: Local Dicrectory for Docker Compose File ON LOCAL
|
||||||
shell: mkdir parts/{{ANSIBLE_TRANSPORT_PATH}}
|
# shell: mkdir 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: scp ~/.ssh/id_rsa.pub {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
# # shell: scp ~/.ssh/id_rsa.pub {{WHAT_PART_REMOTE}}/docker-compose.yml /home/semaphore/{{ANSIBLE_TRANSPORT_PATH}}/docker-compose.yml
|
||||||
|
|||||||
+13
-13
@@ -9,21 +9,21 @@
|
|||||||
mode: 0775
|
mode: 0775
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
# - name: Local Dicrectory for Docker Compose File
|
- name: Local Dicrectory for Docker Compose File
|
||||||
# ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
# # path: /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
# path: /home/chiefsoft/semaphore/parts/{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
# path: parts/{{ANSIBLE_TRANSPORT_PATH}}
|
path: WHERE_TEST{{ANSIBLE_TRANSPORT_PATH}}
|
||||||
# state: directory
|
state: directory
|
||||||
# register: local_dir
|
register: local_dir
|
||||||
# delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|
||||||
- name: INFO - Find out playbooks path
|
# - name: INFO - Find out playbooks path
|
||||||
shell: pwd
|
# shell: pwd
|
||||||
register: playbook_path_output
|
# register: playbook_path_output
|
||||||
- debug: var=playbook_path_output.stdout
|
# - debug: var=playbook_path_output.stdout
|
||||||
|
|
||||||
- name: Local Dicrectory for Docker Compose File ON LOCAL
|
# - name: Local Dicrectory for Docker Compose File ON LOCAL
|
||||||
shell: mkdir parts/{{ANSIBLE_TRANSPORT_PATH}}
|
# shell: mkdir 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
|
||||||
|
|||||||
Reference in New Issue
Block a user