23 lines
654 B
YAML
23 lines
654 B
YAML
---
|
|
- 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_3.0.17.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
|