improve naming and linting

This commit is contained in:
L3D 2021-12-20 19:54:35 +01:00
parent 3bc6d9d999
commit 3026ccda41
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 16 additions and 2 deletions

14
.yamllint Normal file
View file

@ -0,0 +1,14 @@
---
extends: default
rules:
# 150 chars should be enough, but don't fail if a line is longer
line-length:
max: 180
level: warning
ignore: |
host_vars/mail01.l3d.space/vault.yml
host_vars/web01.l3d.space/vault.yml
group_vars/all/vault.yml
roles/

View file

@ -5,7 +5,7 @@
- name: configure hostname - name: configure hostname
ansible.builtin.include_tasks: hostname.yml ansible.builtin.include_tasks: hostname.yml
- name: install some packages - name: install some useful packages
ansible.builtin.include_tasks: packages.yml ansible.builtin.include_tasks: packages.yml
- name: scan for updates - name: scan for updates

View file

@ -1,5 +1,5 @@
--- ---
- name: Install git - name: Install some base packages
chocolatey.chocolatey.win_chocolatey: chocolatey.chocolatey.win_chocolatey:
name: "{{ win_base_init__packages }}" name: "{{ win_base_init__packages }}"
state: present state: present