use ansible-lint action
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 3m34s Details

This commit is contained in:
Gleb Koval 2024-01-30 17:31:29 +00:00
parent 2834642cb7
commit 5ac073fc11
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
5 changed files with 16 additions and 11 deletions

6
.ansible-lint Normal file
View File

@ -0,0 +1,6 @@
strict: true
use_default_rules: true
skip_list:
- args[module]
exclude_paths:
- "!infra/**/*playbook.yaml"

View File

@ -31,9 +31,8 @@ jobs:
pip3 install -r requirements.txt
ansible-galaxy collection install community.general community.docker infisical.vault --force
- name: Ansible lint
run: |
ansible-lint -s -x args[module] infra/**/*playbook.yaml
- name: Run ansible-lint
uses: ansible/ansible-lint@v6
- name: Check playbooks
run: |

View File

@ -49,4 +49,4 @@ services:
volumes:
- /mnt/nvme/filebrowser:/config
- /mnt/media/downloads:/srv/downloads
- /mnt/media/music:/srv/music
- /mnt/media/music:/srv/music

View File

@ -4,7 +4,7 @@ services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
command: [ "start.sh", "immich" ]
command: ["start.sh", "immich"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
@ -22,7 +22,7 @@ services:
# extends:
# file: hwaccel.yml
# service: hwaccel
command: [ "start.sh", "microservices" ]
command: ["start.sh", "microservices"]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:

View File

@ -15,12 +15,12 @@ global:
- "force group = debian"
share:
- name: kvkbackups
- name: kvkbackups
comment: KVK Backups
path: /samba/kvkbackups
validusers: kvk
writelist: kvk
browsable: yes
readonly: no
guestok: no
veto: no
browsable: true
readonly: false
guestok: false
veto: false