exemONE Host Agent Installer Container Image

This commit is contained in:
정훈 변
2024-08-12 10:52:05 +09:00
commit 4288b79459
72 changed files with 5264 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
---
- name: Create exemONE Agent Directory
ansible.builtin.file:
path: "{{ EXEM_HOME }}"
state: directory
mode: '0755'
- name: Copy exemONE Container-Agent File
# ansible.posix.synchronize:
ansible.builtin.copy:
src: "{{ role_path }}/files/container"
dest: "{{ EXEM_HOME }}"
- name: Create Agent Script
ansible.builtin.template:
src: "{{ item }}.j2"
dest: "{{ EXEM_HOME }}/container/script/binary_mode/{{ item }}"
mode: '0755'
with_items:
- start.sh
- stop.sh
- name: exem-container-agent start
ansible.builtin.shell: "nohup {{ EXEM_HOME }}/container/script/binary_mode/start.sh"