cleanup: fixed role execution order and directory chmod permissions
This commit is contained in:
parent
8f18302f3f
commit
b58ef7ab84
2 changed files with 17 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
- hosts: jellyfin
|
- hosts: jellyfin
|
||||||
roles:
|
roles:
|
||||||
|
- acme.sh
|
||||||
- nginx
|
- nginx
|
||||||
|
- jellyfin
|
||||||
|
|
|
@ -57,8 +57,21 @@
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
- name: Enable podman auto updates
|
||||||
|
ansible.builtin.systemd_service:
|
||||||
|
name: podman-auto-update.timer
|
||||||
|
state: started
|
||||||
|
enabled: true
|
||||||
|
|
||||||
- name: Add /srv dir
|
- name: Add /srv dir
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /src
|
path: /srv
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0644'
|
mode: '0755'
|
||||||
|
|
||||||
|
- name: Add /secrets dir
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /secrets
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue