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: ...@@ -38,6 +38,7 @@ skip_list:
- skip_this_tag - skip_this_tag
- git-latest - git-latest
- name[casing] - name[casing]
- package-latest
# Any rule that has the 'opt-in' tag will not be loaded unless its 'id' is # Any rule that has the 'opt-in' tag will not be loaded unless its 'id' is
# mentioned in the enable_list: # mentioned in the enable_list:
......
...@@ -75,7 +75,9 @@ ...@@ -75,7 +75,9 @@
daemon-reload: "true" daemon-reload: "true"
tags: [systemd] 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 }}" ansible.builtin.command: "systemctl is-enabled {{ item }}"
loop: loop:
- "chmod_sip_uploads.service" - "chmod_sip_uploads.service"
......
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
### PAKETDEINSTALLATIONEN ### ### PAKETDEINSTALLATIONEN ###
- name: clamav entfernen - name: clamav entfernen
block: 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 # command: systemctl list-unit-files | grep clam
ansible.builtin.command: systemctl list-unit-files clamav-daemon.service clamav-freshclam.service ansible.builtin.command: systemctl list-unit-files clamav-daemon.service clamav-freshclam.service
register: check_clamav_installed 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