Skip to content
Snippets Groups Projects
Commit 7b51f550 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

*: Fix new ansible-lint issues

parent 41e1db00
No related branches found
No related tags found
No related merge requests found
Pipeline #5373 passed
......@@ -11,9 +11,11 @@
state: restarted
- name: configure journal directory
# noqa no-changed-when
command: systemd-tmpfiles --create --prefix /var/log/journal
- name: update initramfs
# noqa no-changed-when
command: update-initramfs -u
- name: gather network facts once again
......@@ -27,6 +29,6 @@
- name: Remove pve directory from etckeeper repo
# ansible-lint wants us to use the ansible git module, but it doesn’t
# provide that feature
shell: # noqa: command-instead-of-module
shell: # noqa: command-instead-of-module no-changed-when
chdir: /etc
cmd: git rm --cached -r -- pve && git commit -m "'Remove pve directory'"
......@@ -11,4 +11,5 @@
state: restarted
- name: update timezone
# noqa no-changed-when
command: dpkg-reconfigure --frontend noninteractive tzdata
---
- name: rerun depmod
# noqa no-changed-when
command: depmod -ae
- name: update initramfs
# noqa no-changed-when
command: update-initramfs -u
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment