메인 브런치로 이동

This commit is contained in:
정훈 변
2024-09-09 12:25:26 +09:00
parent 67fcdf305d
commit 32440c8d64
71 changed files with 5241 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
---
- name: Create exemONE Agent Directory
ansible.builtin.file:
path: "{{ EXEM_HOME }}"
state: directory
mode: '0755'
- name: Copy exemONE Host-Agent File
ansible.builtin.copy:
src: "{{ role_path }}/files/host"
dest: "{{ EXEM_HOME }}"
mode: '0755'
- name: Install Start exemONE Host-Agent
ansible.builtin.shell: |
{{ EXEM_HOME }}/host/setup_exem-host-agent_1.2.10.1.bin {{ RECEIVER_ADDR }} {{ RECEIVER_PORT | default('9010') }}
args:
chdir: "{{ EXEM_HOME }}/host"
- name: exem-host-agent start and enable
ansible.builtin.shell: |
{{ EXEM_HOME }}/host/exem/host/start.sh