fix remaining yaml lint nitpicks

- add missing document start (---) to contact-points.yml and docker-compose files
- fix extra spaces inside braces in dotfiles and common role tasks
This commit is contained in:
Rasmus Wejlgaard 2026-03-28 13:13:37 +00:00
parent 6f5cb82ab9
commit dc10ceacf5
6 changed files with 10 additions and 6 deletions

View file

@ -88,9 +88,9 @@
line: "{{ item.line }}"
state: present
loop:
- { regexp: '^#?PermitRootLogin', line: 'PermitRootLogin prohibit-password' }
- { regexp: '^#?PasswordAuthentication', line: 'PasswordAuthentication no' }
- { regexp: '^#?X11Forwarding', line: 'X11Forwarding no' }
- {regexp: '^#?PermitRootLogin', line: 'PermitRootLogin prohibit-password'}
- {regexp: '^#?PasswordAuthentication', line: 'PasswordAuthentication no'}
- {regexp: '^#?X11Forwarding', line: 'X11Forwarding no'}
notify: Restart sshd
when: ansible_facts["os_family"] != "FreeBSD"

View file

@ -15,9 +15,9 @@
mode: '0644'
backup: true
loop:
- { src: 'config/tmux/tmux.conf', dest: '/root/.tmux.conf' }
- { src: 'config/fish/config.fish', dest: '/root/.config/fish/config.fish' }
- { src: 'config/git/gitconfig', dest: '/root/.gitconfig' }
- {src: 'config/tmux/tmux.conf', dest: '/root/.tmux.conf'}
- {src: 'config/fish/config.fish', dest: '/root/.config/fish/config.fish'}
- {src: 'config/git/gitconfig', dest: '/root/.gitconfig'}
failed_when: false
when:
- dotfiles_dir.stat.exists

View file

@ -1,3 +1,4 @@
---
# Authelia - SSO/authentication portal with LLDAP + MariaDB
# Host: helsinki-a (100.67.6.27)
# Data: /root/authelia/

View file

@ -1,3 +1,4 @@
---
# Bitwarden - Self-hosted password manager
# Host: helsinki-a (100.67.6.27)
# Data: Docker volume (bitwarden)

View file

@ -1,3 +1,4 @@
---
# Forgejo - Self-hosted Git forge
# Host: helsinki-a (100.67.6.27)
# Data: /srv/forgejo/data

View file

@ -1,3 +1,4 @@
---
apiVersion: 1
# Contact points — defines where alerts are sent.