From 9a96955f08a3e289a857eecb799f2986cd82d9ec Mon Sep 17 00:00:00 2001 From: ByeonJungHun Date: Tue, 5 Nov 2024 11:43:51 +0900 Subject: [PATCH] =?UTF-8?q?Dockerfile=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- agent.yml | 2 +- inventory | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 109a615..fe5825b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ LABEL agent_list="host,container,ndm" RUN \ pip3 install ansible && \ - apk add openssh + apk add openssh sshpass WORKDIR /installer diff --git a/agent.yml b/agent.yml index 2afd0bd..87dbd39 100644 --- a/agent.yml +++ b/agent.yml @@ -6,7 +6,7 @@ - role: one_agent vars: EXEM_HOME: /tmp - RECEIVER_ADDR: 10.10.55.109 + RECEIVER_ADDR: 10.10.55.102 #RECEIVER_PORT: 9010 #RECEIVER_CONTAINER_PORT: 9009 # port 설정이 필요할 경우 위 주석을 해제하고 설정 diff --git a/inventory b/inventory index 719f5a3..299f080 100644 --- a/inventory +++ b/inventory @@ -3,7 +3,8 @@ host_agent container_agent [host_agent] -10.10.55.109 ansible_user=root ansible_ssh_pass=tmax@23 ansible_become_pass=tmax@23 +10.10.55.102 ansible_user=root ansible_ssh_pass=tmax@23 ansible_become_pass=tmax@23 +10.10.55.103 ansible_user=root ansible_ssh_pass=tmax@23 ansible_become_pass=tmax@23 [container_agent]