Skip to content
Snippets Groups Projects
Commit c8867585 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

style: satisfy linter

parent fe7a44ee
No related branches found
No related tags found
No related merge requests found
Pipeline #5154 passed
......@@ -38,6 +38,7 @@ skip_list:
- skip_this_tag
- git-latest
- name[casing]
- package-latest
# Any rule that has the 'opt-in' tag will not be loaded unless its 'id' is
# mentioned in the enable_list:
......
......@@ -75,7 +75,9 @@
daemon-reload: "true"
tags: [systemd]
- name: check which Services are enabled
# We check this using the `command` module, because the `systemd` module fails
# if the unit doesn't exist. Hence, we also ignore the linter warning.
- name: check which Services are enabled # noqa command-instead-of-module
ansible.builtin.command: "systemctl is-enabled {{ item }}"
loop:
- "chmod_sip_uploads.service"
......
......@@ -2,7 +2,9 @@
### PAKETDEINSTALLATIONEN ###
- name: clamav entfernen
block:
- name: clamav Prüfung
# This cannot be done using the `systemd` module, so we ignore the linter
# warning.
- name: clamav Prüfung # noqa command-instead-of-module
# command: systemctl list-unit-files | grep clam
ansible.builtin.command: systemctl list-unit-files clamav-daemon.service clamav-freshclam.service
register: check_clamav_installed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment