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

style: satisfy linter

parent 3526f64c
No related branches found
No related tags found
No related merge requests found
Pipeline #4005 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:
......
...@@ -70,5 +70,5 @@ ...@@ -70,5 +70,5 @@
state: restarted state: restarted
daemon_reload: true daemon_reload: true
- name: udev-Regel bekannt machen - name: udev-Regel bekannt machen # noqa no-changed-when
ansible.builtin.command: "udevadm control --reload" ansible.builtin.command: "udevadm control --reload"
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
- name: load zram Kernel module - name: load zram Kernel module
ansible.builtin.command: "modprobe zram" ansible.builtin.command: "modprobe zram"
when: "not 'zram' in kernel_modules.stdout" when: "not 'zram' in kernel_modules.stdout"
changed_when: false
- name: find existing zram devices - name: find existing zram devices
ansible.builtin.command: "zramctl --noheadings" ansible.builtin.command: "zramctl --noheadings"
register: "zram_devices" register: "zram_devices"
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
- vmtools.stat.xusr - vmtools.stat.xusr
register: timesync register: timesync
failed_when: ( timesync.rc != 0 ) and ( timesync.rc != 69 ) failed_when: ( timesync.rc != 0 ) and ( timesync.rc != 69 )
changed_when: false
- name: enable ESXi timesync if necessary - name: enable ESXi timesync if necessary
ansible.builtin.command: "/usr/bin/vmware-toolbox-cmd timesync enable" ansible.builtin.command: "/usr/bin/vmware-toolbox-cmd timesync enable"
...@@ -33,3 +34,4 @@ ...@@ -33,3 +34,4 @@
- vmtools.stat.exists - vmtools.stat.exists
- vmtools.stat.isreg - vmtools.stat.isreg
- vmtools.stat.xusr - vmtools.stat.xusr
changed_when: false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment