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 }}" line: "{{ item.line }}"
state: present state: present
loop: loop:
- { regexp: '^#?PermitRootLogin', line: 'PermitRootLogin prohibit-password' } - {regexp: '^#?PermitRootLogin', line: 'PermitRootLogin prohibit-password'}
- { regexp: '^#?PasswordAuthentication', line: 'PasswordAuthentication no' } - {regexp: '^#?PasswordAuthentication', line: 'PasswordAuthentication no'}
- { regexp: '^#?X11Forwarding', line: 'X11Forwarding no' } - {regexp: '^#?X11Forwarding', line: 'X11Forwarding no'}
notify: Restart sshd notify: Restart sshd
when: ansible_facts["os_family"] != "FreeBSD" when: ansible_facts["os_family"] != "FreeBSD"

View file

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

View file

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

View file

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

View file

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

View file

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