From bbf01577fd8426135c6306c2cc756031ce45bc70 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Wed, 26 Oct 2022 21:59:37 +0200 Subject: [PATCH] fix: fix missing file permissions for role setup_http_site_proxy --- pottwal.yml | 2 +- radon.yml | 1 + roles/setup_http_site_proxy/tasks/main.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pottwal.yml b/pottwal.yml index f558dda..e3100cf 100644 --- a/pottwal.yml +++ b/pottwal.yml @@ -270,7 +270,7 @@ - name: Ensure the influxdb directories exist file: path: "{{ item }}" - mode: "0700" + mode: 0700 state: directory with_items: - "{{ data_dir }}/influxdb" diff --git a/radon.yml b/radon.yml index 15092dd..33f9e13 100644 --- a/radon.yml +++ b/radon.yml @@ -53,6 +53,7 @@ template: src: "templates/mosquitto.conf.j2" dest: "{{ mosquitto_data }}/config/mosquitto.conf" + mode: 0644 notify: restart mosquitto - name: Ensure mosquitto is running diff --git a/roles/setup_http_site_proxy/tasks/main.yml b/roles/setup_http_site_proxy/tasks/main.yml index 6aeff36..b4b241f 100644 --- a/roles/setup_http_site_proxy/tasks/main.yml +++ b/roles/setup_http_site_proxy/tasks/main.yml @@ -3,6 +3,7 @@ template: src: templates/apache-docker-proxy-site.j2 dest: /etc/apache2/sites-available/{{ site_name }}.conf + mode: 0644 notify: restart apache2 - name: Activate Apache2 site