Fix lint issues
All checks were successful
/ terraform (push) Successful in 42s
/ ansible (push) Successful in 1m56s

This commit is contained in:
Jake Howard 2023-10-01 17:10:37 +01:00
parent 5770ab4a59
commit 54c88d4253
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 8 additions and 7 deletions

View file

@ -15,4 +15,4 @@ rules:
quote-type: double quote-type: double
required: only-when-needed required: only-when-needed
line-length: line-length:
max: 200 max: 160

View file

@ -26,12 +26,12 @@
- name: Automatically update Dokku plugins - name: Automatically update Dokku plugins
cron: cron:
name: "dokku plugin:update {{ item.name }}" name: dokku plugin:update {{ item.name }}
minute: "0" minute: 0
hour: "12" hour: 12
user: "root" user: root
job: "/usr/bin/chronic /usr/bin/dokku plugin:update {{ item.name }}" job: /usr/bin/chronic /usr/bin/dokku plugin:update {{ item.name }}
cron_file: "dokku-plugin-update-{{ item.name }}" cron_file: dokku-plugin-update-{{ item.name }}
loop: "{{ dokku_plugins }}" loop: "{{ dokku_plugins }}"
loop_control: loop_control:
label: "{{ item.name }}" label: "{{ item.name }}"

View file

@ -28,6 +28,7 @@ services:
- PGID={{ docker_user.id }} - PGID={{ docker_user.id }}
labels: labels:
- traefik.enable=true - traefik.enable=true
# yamllint disable-line rule:line-length
- traefik.http.routers.vikunja-api.rule=Host(`tasks.jakehoward.tech`) && (PathPrefix(`/api/v1`) || PathPrefix(`/dav/`) || PathPrefix(`/.well-known/`) || Path(`/health`)) - traefik.http.routers.vikunja-api.rule=Host(`tasks.jakehoward.tech`) && (PathPrefix(`/api/v1`) || PathPrefix(`/dav/`) || PathPrefix(`/.well-known/`) || Path(`/health`))
volumes: volumes:
- /mnt/tank/app-data/vikunja/files:/app/vikunja/files - /mnt/tank/app-data/vikunja/files:/app/vikunja/files