diff --git a/basic-system/handlers/main.yml b/basic-system/handlers/main.yml index aec32443c1fa62ac3cd8e093c8f9d1eae8db9eaa..3da1810f135b92742a1ffd990a8da2365d1a1723 100644 --- a/basic-system/handlers/main.yml +++ b/basic-system/handlers/main.yml @@ -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'" diff --git a/localization/handlers/main.yml b/localization/handlers/main.yml index edcbd1db563047a76d0faa7eb5b25d2effb8456b..9a96335fc729ad194ae200da91b53acf14831444 100644 --- a/localization/handlers/main.yml +++ b/localization/handlers/main.yml @@ -11,4 +11,5 @@ state: restarted - name: update timezone + # noqa no-changed-when command: dpkg-reconfigure --frontend noninteractive tzdata diff --git a/shell/handlers/main.yml b/shell/handlers/main.yml index 193f48183d1aadc0bfd9d217500af9a87b613271..d35eb6e4ccd0ba01a134fc1cb5a963196d5335d3 100644 --- a/shell/handlers/main.yml +++ b/shell/handlers/main.yml @@ -1,7 +1,9 @@ --- - name: rerun depmod + # noqa no-changed-when command: depmod -ae - name: update initramfs + # noqa no-changed-when command: update-initramfs -u