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 @@ ...@@ -11,9 +11,11 @@
state: restarted state: restarted
- name: configure journal directory - name: configure journal directory
# noqa no-changed-when
command: systemd-tmpfiles --create --prefix /var/log/journal command: systemd-tmpfiles --create --prefix /var/log/journal
- name: update initramfs - name: update initramfs
# noqa no-changed-when
command: update-initramfs -u command: update-initramfs -u
- name: gather network facts once again - name: gather network facts once again
...@@ -27,6 +29,6 @@ ...@@ -27,6 +29,6 @@
- name: Remove pve directory from etckeeper repo - name: Remove pve directory from etckeeper repo
# ansible-lint wants us to use the ansible git module, but it doesn’t # ansible-lint wants us to use the ansible git module, but it doesn’t
# provide that feature # provide that feature
shell: # noqa: command-instead-of-module shell: # noqa: command-instead-of-module no-changed-when
chdir: /etc chdir: /etc
cmd: git rm --cached -r -- pve && git commit -m "'Remove pve directory'" cmd: git rm --cached -r -- pve && git commit -m "'Remove pve directory'"
...@@ -11,4 +11,5 @@ ...@@ -11,4 +11,5 @@
state: restarted state: restarted
- name: update timezone - name: update timezone
# noqa no-changed-when
command: dpkg-reconfigure --frontend noninteractive tzdata command: dpkg-reconfigure --frontend noninteractive tzdata
--- ---
- name: rerun depmod - name: rerun depmod
# noqa no-changed-when
command: depmod -ae command: depmod -ae
- name: update initramfs - name: update initramfs
# noqa no-changed-when
command: update-initramfs -u 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