diff --git a/playbooks/find_docker_enroll_portainer.yml b/playbooks/find_docker_enroll_portainer.yml index 8668cac..4d699c0 100644 --- a/playbooks/find_docker_enroll_portainer.yml +++ b/playbooks/find_docker_enroll_portainer.yml @@ -126,9 +126,6 @@ - /var/run/docker.sock:/var/run/docker.sock env: AGENT_PORT: "9001" - # Ensures the agent's self-signed TLS cert covers the host's real IP, - # not just the Docker bridge (172.17.0.x) IP. - AGENT_HOST: "{{ ansible_host }}" when: "'Up' not in (agent_status.stdout | default(''))" register: agent_deployed ignore_errors: true