Compare commits

..

2 Commits

Author SHA1 Message Date
Francesco Antognazza
a8b33418d2 Fix illegal octal number representation 2023-08-01 10:42:11 +02:00
Francesco Antognazza
6ae079a032 Fix podman auto-update timer not enabled for 'containers' user 2023-08-01 10:42:10 +02:00
5 changed files with 11 additions and 10 deletions

View File

@ -62,7 +62,7 @@
dest: /etc/gitea/mariadb/ dest: /etc/gitea/mariadb/
owner: containers owner: containers
group: containers group: containers
mode: 0600 mode: "0600"
- name: Create mariadb instance - name: Create mariadb instance
become_user: containers become_user: containers

View File

@ -47,7 +47,7 @@
path: /etc/nextcloud path: /etc/nextcloud
owner: containers owner: containers
group: containers group: containers
mode: 0700 mode: "0700"
state: directory state: directory
- name: Copy nextcloud config directory - name: Copy nextcloud config directory
@ -57,7 +57,7 @@
dest: /etc/nextcloud/config/ dest: /etc/nextcloud/config/
owner: containers owner: containers
group: containers group: containers
mode: 0600 mode: "0600"
- name: Copy systemd service and timer - name: Copy systemd service and timer
become: true become: true
@ -67,7 +67,7 @@
dest: "/home/containers/.config/systemd/user/" dest: "/home/containers/.config/systemd/user/"
owner: containers owner: containers
group: containers group: containers
mode: 0644 mode: "0644"
- name: Copy mariadb config directory - name: Copy mariadb config directory
become: true become: true
@ -76,7 +76,7 @@
dest: /etc/nextcloud/mariadb/ dest: /etc/nextcloud/mariadb/
owner: containers owner: containers
group: containers group: containers
mode: 0600 mode: "0600"
- name: Create podman networks - name: Create podman networks
containers.podman.podman_network: containers.podman.podman_network:

View File

@ -49,7 +49,7 @@
path: /etc/traefik path: /etc/traefik
owner: containers owner: containers
group: containers group: containers
mode: 0700 mode: "0700"
state: directory state: directory
- name: Copy config directory - name: Copy config directory
@ -59,7 +59,7 @@
dest: /etc/traefik/ dest: /etc/traefik/
owner: containers owner: containers
group: containers group: containers
mode: 0600 mode: "0600"
- name: Copy config files from templates - name: Copy config files from templates
become: true become: true
@ -68,7 +68,7 @@
dest: "/etc/traefik/{{ item }}" dest: "/etc/traefik/{{ item }}"
owner: containers owner: containers
group: containers group: containers
mode: 0600 mode: "0600"
loop: loop:
- traefik.yml - traefik.yml
- conf/cockpit.yml - conf/cockpit.yml

View File

@ -28,7 +28,7 @@
dest: /etc/cockpit/cockpit.conf dest: /etc/cockpit/cockpit.conf
owner: root owner: root
group: root group: root
mode: 0644 mode: "0644"
# https://cockpit-project.org/faq.html#error-message-about-being-offline # https://cockpit-project.org/faq.html#error-message-about-being-offline
- name: Allow NetworkManager to manage network interfaces - name: Allow NetworkManager to manage network interfaces

View File

@ -65,6 +65,7 @@
state: started state: started
- name: Enable podman auto-update timer - name: Enable podman auto-update timer
become_user: containers
become: true become: true
ansible.builtin.systemd: ansible.builtin.systemd:
name: podman-auto-update.timer name: podman-auto-update.timer
@ -76,7 +77,7 @@
remote_src: true remote_src: true
src: /usr/share/containers/containers.conf src: /usr/share/containers/containers.conf
dest: /etc/containers/containers.conf dest: /etc/containers/containers.conf
mode: 0644 mode: "0644"
- name: Set podman default subnet into small /24 networks - name: Set podman default subnet into small /24 networks
become: true become: true