copy 모듈 변경

This commit is contained in:
ByeonJungHun
2024-03-20 10:19:17 +09:00
parent 541fec2b4c
commit ea852d13fc
10 changed files with 8 additions and 4 deletions

View File

View File

View File

View File

@@ -6,7 +6,8 @@
mode: '0755' mode: '0755'
- name: Copy exemONE Container-Agent File - name: Copy exemONE Container-Agent File
ansible.posix.synchronize: # ansible.posix.synchronize:
ansible.builtin.copy:
src: "{{ role_path }}/files/container" src: "{{ role_path }}/files/container"
dest: "{{ EXEM_HOME }}" dest: "{{ EXEM_HOME }}"

View File

@@ -6,7 +6,8 @@
mode: '0755' mode: '0755'
- name: Copy exemONE Host-Agent File - name: Copy exemONE Host-Agent File
ansible.posix.synchronize: # ansible.posix.synchronize:
ansible.builtin.copy:
src: "{{ role_path }}/files/host" src: "{{ role_path }}/files/host"
dest: "{{ EXEM_HOME }}" dest: "{{ EXEM_HOME }}"

View File

@@ -1,5 +1,6 @@
--- ---
- include_tasks: rsync.yml # - include_tasks: rsync.yml
# 더이상 사용하지 않는 task, 기존 synchronize 모듈을 copy 모듈로 변경
- include_tasks: host-agent.yml - include_tasks: host-agent.yml
when: when:

View File

@@ -6,7 +6,8 @@
mode: '0755' mode: '0755'
- name: Copy exemONE NDM-Agent File - name: Copy exemONE NDM-Agent File
ansible.posix.synchronize: # ansible.posix.synchronize:
ansible.builtin.copy:
src: "{{ role_path }}/files/ndm" src: "{{ role_path }}/files/ndm"
dest: "{{ EXEM_HOME }}" dest: "{{ EXEM_HOME }}"