Merge pull request '🚨 reduce ansible-lint warning count (trivial yaml and jinja warnings)' (#486) from lint into master
Reviewed-on: Netz39_Admin/netz39-infra-ansible#486 Reviewed-by: Stefan Haun <tux@netz39.de>
This commit is contained in:
commit
517bf90b7b
13 changed files with 31 additions and 30 deletions
|
@ -2,6 +2,7 @@
|
|||
extends: default
|
||||
|
||||
rules:
|
||||
comments-indentation: disable
|
||||
line-length: disable
|
||||
truthy:
|
||||
allowed-values:
|
||||
|
|
|
@ -22,6 +22,6 @@
|
|||
ansible.builtin.lineinfile:
|
||||
path: /etc/pve/user.cfg
|
||||
regexp: "^group:Admins:"
|
||||
line: "group:Admins:{{ users | map(attribute = 'logname') | join(\"@pam,\") }}@pam::"
|
||||
line: "group:Admins:{{ users | map(attribute='logname') | join(\"@pam,\") }}@pam::"
|
||||
|
||||
handlers:
|
||||
|
|
|
@ -141,7 +141,7 @@
|
|||
mode: "0644"
|
||||
register: wiringPi_copy
|
||||
|
||||
- name: Install wiringPi library # noqa 503
|
||||
- name: Install wiringPi library # noqa: no-handler
|
||||
ansible.builtin.apt:
|
||||
state: present
|
||||
deb: "/home/{{ gatekeeper_user }}/wiringpi-latest.deb"
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
force: no
|
||||
register: wiringPi_download
|
||||
|
||||
- name: Install wiringPi library # noqa 503
|
||||
- name: Install wiringPi library # noqa: no-handler
|
||||
ansible.builtin.apt:
|
||||
state: present
|
||||
deb: "/home/{{ gatekeeper_user }}/wiringpi-latest.deb"
|
||||
|
|
|
@ -11,4 +11,3 @@ kiosk_grafana_user: "{{ vault_kiosk_grafana_user }}"
|
|||
kiosk_grafana_pass: "{{ vault_kiosk_grafana_pass }}"
|
||||
kiosk_mqtt_host: "mqtt.n39.eu"
|
||||
kiosk_mqtt_topic: "Netz39/Things/HackingDashboard/Screenshot"
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
server_admin: "admin+wittgenstein@netz39.de"
|
||||
mac: "b8:27:eb:48:f1:59"
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
dest: /etc/apt/sources.list.d/docker.list
|
||||
register: apt_repo
|
||||
|
||||
- name: Update package cache # noqa 503
|
||||
- name: Update package cache # noqa: no-handler
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
when: apt_repo.changed
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
src: files/apt-preference-99nginx
|
||||
dest: /etc/apt/preferences.d/99nginx
|
||||
|
||||
- name: Update package cache # noqa 503
|
||||
- name: Update package cache # noqa: no-handler
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
when: apt_repo.changed
|
||||
|
|
Loading…
Add table
Reference in a new issue