Fix some ansible-lint complaints.

This commit is contained in:
Andreas B. Mundt 2022-06-11 12:42:02 +02:00 committed by Andreas B. Mundt
parent c7030c9245
commit 2cf34e8e55
64 changed files with 357 additions and 297 deletions

View file

@ -23,7 +23,7 @@
- name: apply configuration to the edubox
hosts: all # eduboxes
remote_user: ansible
become: yes
become: true
vars:
contname: cont
## User name for the user in the container:
@ -52,19 +52,19 @@
- name: install apt-cacher-ng
apt:
name: apt-cacher-ng
state: latest
state: latest # noqa package-latest
- name: enable apt-cacher-ng
lineinfile:
path: /etc/apt/apt.conf.d/30proxy
line: 'Acquire::http::Proxy "http://localhost:3142/";'
create: yes
create: true
- name: enable and start systemd-networkd on the host
systemd:
name: systemd-networkd
state: started
enabled: yes
enabled: true
roles:
- up2date-debian