style: Add ansible-lint

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2024-05-10 13:32:56 +02:00
parent 0063f2157c
commit 38fef42aa6
No known key found for this signature in database
GPG key ID: A2EB1F2CA8E3F677
23 changed files with 128 additions and 58 deletions

View file

@ -2,7 +2,6 @@
- name: Install OpenSSH
ansible.builtin.apt:
name: openssh-server
state: latest
- name: Allow authorized keys
ansible.posix.authorized_key:
@ -20,7 +19,7 @@
mode: '0644'
- name: Reload and enable SSH service
service:
ansible.builtin.service:
name: ssh
state: reloaded
enabled: true