Cleanup Ansible Playbooks #41
|
@ -0,0 +1,6 @@
|
||||||
|
strict: true
|
||||||
|
use_default_rules: true
|
||||||
|
skip_list:
|
||||||
|
- args[module]
|
||||||
|
exclude_paths:
|
||||||
|
- "!infra/**/*playbook.yaml"
|
|
@ -31,9 +31,8 @@ jobs:
|
||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
ansible-galaxy collection install community.general community.docker infisical.vault --force
|
ansible-galaxy collection install community.general community.docker infisical.vault --force
|
||||||
|
|
||||||
- name: Ansible lint
|
- name: Run ansible-lint
|
||||||
run: |
|
uses: ansible/ansible-lint@v6
|
||||||
ansible-lint -s -x args[module] infra/**/*playbook.yaml
|
|
||||||
|
|
||||||
- name: Check playbooks
|
- name: Check playbooks
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -49,4 +49,4 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/nvme/filebrowser:/config
|
- /mnt/nvme/filebrowser:/config
|
||||||
- /mnt/media/downloads:/srv/downloads
|
- /mnt/media/downloads:/srv/downloads
|
||||||
- /mnt/media/music:/srv/music
|
- /mnt/media/music:/srv/music
|
||||||
|
|
|
@ -4,7 +4,7 @@ services:
|
||||||
immich-server:
|
immich-server:
|
||||||
container_name: immich_server
|
container_name: immich_server
|
||||||
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||||
command: [ "start.sh", "immich" ]
|
command: ["start.sh", "immich"]
|
||||||
volumes:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -22,7 +22,7 @@ services:
|
||||||
# extends:
|
# extends:
|
||||||
# file: hwaccel.yml
|
# file: hwaccel.yml
|
||||||
# service: hwaccel
|
# service: hwaccel
|
||||||
command: [ "start.sh", "microservices" ]
|
command: ["start.sh", "microservices"]
|
||||||
volumes:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
env_file:
|
env_file:
|
||||||
|
|
|
@ -15,12 +15,12 @@ global:
|
||||||
- "force group = debian"
|
- "force group = debian"
|
||||||
|
|
||||||
share:
|
share:
|
||||||
- name: kvkbackups
|
- name: kvkbackups
|
||||||
comment: KVK Backups
|
comment: KVK Backups
|
||||||
path: /samba/kvkbackups
|
path: /samba/kvkbackups
|
||||||
validusers: kvk
|
validusers: kvk
|
||||||
writelist: kvk
|
writelist: kvk
|
||||||
browsable: yes
|
browsable: true
|
||||||
readonly: no
|
readonly: false
|
||||||
guestok: no
|
guestok: false
|
||||||
veto: no
|
veto: false
|
||||||
|
|
Loading…
Reference in New Issue