From 1e42d41d1ba77e0729097f865983fb21750402c4 Mon Sep 17 00:00:00 2001 From: Francesco Antognazza Date: Fri, 3 Feb 2023 18:01:06 +0100 Subject: [PATCH] Minor fixes to base configuration --- roles/cockpit/templates/cockpit.conf.j2 | 2 +- roles/podman/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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