Skip to content

Commit 024e155

Browse files
committed
Docker: Add a task to rediscover the network facts after install docker.
Makes sure we have the docker network interface details which are added to the firewall script
1 parent 3fdad31 commit 024e155

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

roles/docker/tasks/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
state: started
2828
enabled: true
2929

30+
- name: Gather some facts, as we want to need info on the docker network interface
31+
ansible.builtin.setup:
32+
gather_subset: network
33+
3034
- name: Create the traefik configuration file directory
3135
ansible.builtin.file:
3236
state: directory

0 commit comments

Comments
 (0)