Commit 609c06cd authored by nimrod's avatar nimrod
Browse files

Ansible: Add the Shore service Docker network.

parent e4824668
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4,3 +4,5 @@ collections:
    version: '>=5'
  - name: community.aws
    version: '>=5'
  - name: community.docker
    version: '>=3'
+15 −0
Original line number Diff line number Diff line
@@ -94,3 +94,18 @@
    name: dvb.timer
  notify:
    - Systemd daemon reload

- name: Create the Shore services Docker network
  community.docker.docker_network:
    appends: true
    driver: bridge
    enable_ipv6: false
    internal: false
    ipam_config:
      - gateway: 172.20.0.1
        subnet: 172.20.0.0/16
    labels:
      "com.docker.compose.network": shore
      ansible_managed: "true"
    name: shore
    state: present