diff --git a/roles/cockpit/templates/cockpit.conf.j2 b/roles/cockpit/templates/cockpit.conf.j2 index 0f78089..0173bd8 100644 --- a/roles/cockpit/templates/cockpit.conf.j2 +++ b/roles/cockpit/templates/cockpit.conf.j2 @@ -1,4 +1,4 @@ [WebService] -Origins = http://{{ inventory_hostname }} ws://{{ inventory_hostname }} https://{{ inventory_hostname }} wss://{{ inventory_hostname }} http://10.0.0.160 ws://10.0.0.160 https://10.0.0.160 wss://10.0.0.160 +Origins = http://{{ inventory_hostname }} ws://{{ inventory_hostname }} https://{{ inventory_hostname }} wss://{{ inventory_hostname }} http://131.175.120.208 ws://131.175.120.208 https://131.175.120.208 wss://131.175.120.208 ProtocolHeader = X-Forwarded-Proto AllowUnencrypted=true \ No newline at end of file diff --git a/roles/podman/tasks/main.yml b/roles/podman/tasks/main.yml index 2e4636e..df73b43 100644 --- a/roles/podman/tasks/main.yml +++ b/roles/podman/tasks/main.yml @@ -57,7 +57,7 @@ become: true lineinfile: path: /etc/containers/containers.conf - regex: "^#default_subnet*$" + regex: "^(.*)default_subnet = (.*)$" line: 'default_subnet = "172.16.0.0/24"' #- name: Reboot