host agent 업데이트 및 manager agent 추가
This commit is contained in:
@@ -4,5 +4,5 @@ roles_path = roles
|
||||
deprecation_warnings = False
|
||||
display_skipped_hosts = no
|
||||
ansible_home = .
|
||||
stdout_callback = debug
|
||||
host_key_checking = False
|
||||
stdout_callback = yaml
|
||||
host_key_checking = False
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
- name: Install Start exemONE Host-Agent
|
||||
ansible.builtin.shell: |
|
||||
{{ EXEM_HOME }}/host/setup_exem-host-agent_{{ host-agent-version }}.bin ./host_config
|
||||
{{ EXEM_HOME }}/host/setup_exem-host-agent_{{ host_agent_version }}.bin ./host_config
|
||||
args:
|
||||
chdir: "{{ EXEM_HOME }}/host"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
- include_tasks: manager-agent.yml
|
||||
when:
|
||||
- agent_list | select('search' 'manager-agent') | list | count > 0
|
||||
- agent_list | select('search', 'manager-agent') | list | count > 0
|
||||
- "'manager_agent' in group_names"
|
||||
|
||||
# - include_tasks: container-agent.yml
|
||||
|
||||
@@ -53,6 +53,13 @@
|
||||
- start.sh
|
||||
- stop.sh
|
||||
|
||||
- name: Copy binary to linux
|
||||
ansible.builtin.copy:
|
||||
src: "{{ EXEM_HOME }}/manager/os_binary/exem-manager-agent_linux-2.6-x86_64-64"
|
||||
dest: "{{ EXEM_HOME }}/manager/bin/exem-manager-agent"
|
||||
mode: '0755'
|
||||
remote_src: yes
|
||||
|
||||
- name: exem-manager-agent start
|
||||
ansible.builtin.shell: |
|
||||
{{ EXEM_HOME }}/manager/start.sh
|
||||
{{ EXEM_HOME }}/manager/start.sh
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{{ EXEM_HOME }}/host/data/host_id
|
||||
{{ EXEM_HOME }}/host/exem/host/data/host_id
|
||||
{{ EXEM_HOME }}/exemone-db-agent/db_id
|
||||
{{ EXEM_HOME }}/ndm/data/agent.id
|
||||
{{ EXEM_HOME }}/ndm/data/agent.id
|
||||
|
||||
Reference in New Issue
Block a user