Commit 716d4438 authored by nimrod's avatar nimrod
Browse files

Allow all traffic from the default Docker network.

Useful for accessing local services during builds.
parent 0b84598e
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -61,6 +61,12 @@
    port: ssh
    port: ssh
    proto: tcp
    proto: tcp


- name: Allow default Docker network access to local services
  community.general.ufw:
    direction: in
    interface: docker0
    rule: allow

- name: Enable UFW
- name: Enable UFW
  community.general.ufw:
  community.general.ufw:
    default: reject
    default: reject