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

@ -1,9 +1,10 @@
---
- name: Setup hostname
hostname:
ansible.builtin.hostname:
name: "{{ hostname }}"
- name: Manage /etc/hosts
ansible.builtin.template:
src: hostname/hosts.j2
dest: /etc/hosts
mode: "0644"