host agent 최신 버전 기준 반영

This commit is contained in:
ByeonJungHun
2025-01-10 15:50:07 +09:00
parent b2ce1e996a
commit 75d1d9063e
3 changed files with 11 additions and 60 deletions

View File

@@ -11,9 +11,17 @@
dest: "{{ EXEM_HOME }}"
mode: '0755'
- name: Create Agent Config File
ansible.builtin.template:
src: "{{ item }}.j2"
dest: "{{ EXEM_HOME }}/host"
mode: '0755'
with_items:
- host_config
- name: Install Start exemONE Host-Agent
ansible.builtin.shell: |
{{ EXEM_HOME }}/host/setup_exem-host-agent_3.0.17.bin {{ RECEIVER_ADDR }} {{ RECEIVER_PORT | default('9010') }}
{{ EXEM_HOME }}/host/setup_exem-host-agent_3.0.17.bin ./host_config
args:
chdir: "{{ EXEM_HOME }}/host"