From a8b33418d2420f375c9cded764b72b60150709a4 Mon Sep 17 00:00:00 2001 From: Francesco Antognazza Date: Tue, 1 Aug 2023 10:27:04 +0200 Subject: [PATCH] Fix illegal octal number representation --- containers/gitea/tasks.yml | 2 +- containers/nextcloud/tasks.yml | 8 ++++---- containers/traefik/tasks.yml | 6 +++--- roles/cockpit/tasks/main.yml | 2 +- roles/podman/tasks/main.yml | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/containers/gitea/tasks.yml b/containers/gitea/tasks.yml index 392c737..c123f4b 100644 --- a/containers/gitea/tasks.yml +++ b/containers/gitea/tasks.yml @@ -62,7 +62,7 @@ dest: /etc/gitea/mariadb/ owner: containers group: containers - mode: 0600 + mode: "0600" - name: Create mariadb instance become_user: containers diff --git a/containers/nextcloud/tasks.yml b/containers/nextcloud/tasks.yml index 818e67c..b490a04 100644 --- a/containers/nextcloud/tasks.yml +++ b/containers/nextcloud/tasks.yml @@ -47,7 +47,7 @@ path: /etc/nextcloud owner: containers group: containers - mode: 0700 + mode: "0700" state: directory - name: Copy nextcloud config directory @@ -57,7 +57,7 @@ dest: /etc/nextcloud/config/ owner: containers group: containers - mode: 0600 + mode: "0600" - name: Copy systemd service and timer become: true @@ -67,7 +67,7 @@ dest: "/home/containers/.config/systemd/user/" owner: containers group: containers - mode: 0644 + mode: "0644" - name: Copy mariadb config directory become: true @@ -76,7 +76,7 @@ dest: /etc/nextcloud/mariadb/ owner: containers group: containers - mode: 0600 + mode: "0600" - name: Create podman networks containers.podman.podman_network: diff --git a/containers/traefik/tasks.yml b/containers/traefik/tasks.yml index 02bf969..5a541e7 100644 --- a/containers/traefik/tasks.yml +++ b/containers/traefik/tasks.yml @@ -49,7 +49,7 @@ path: /etc/traefik owner: containers group: containers - mode: 0700 + mode: "0700" state: directory - name: Copy config directory @@ -59,7 +59,7 @@ dest: /etc/traefik/ owner: containers group: containers - mode: 0600 + mode: "0600" - name: Copy config files from templates become: true @@ -68,7 +68,7 @@ dest: "/etc/traefik/{{ item }}" owner: containers group: containers - mode: 0600 + mode: "0600" loop: - traefik.yml - conf/cockpit.yml diff --git a/roles/cockpit/tasks/main.yml b/roles/cockpit/tasks/main.yml index a1dc0ad..97f2998 100644 --- a/roles/cockpit/tasks/main.yml +++ b/roles/cockpit/tasks/main.yml @@ -28,7 +28,7 @@ dest: /etc/cockpit/cockpit.conf owner: root group: root - mode: 0644 + mode: "0644" # https://cockpit-project.org/faq.html#error-message-about-being-offline - name: Allow NetworkManager to manage network interfaces diff --git a/roles/podman/tasks/main.yml b/roles/podman/tasks/main.yml index f12652f..c457045 100644 --- a/roles/podman/tasks/main.yml +++ b/roles/podman/tasks/main.yml @@ -77,7 +77,7 @@ remote_src: true src: /usr/share/containers/containers.conf dest: /etc/containers/containers.conf - mode: 0644 + mode: "0644" - name: Set podman default subnet into small /24 networks become: true