fix when expression

This commit is contained in:
Marc Bihlmaier 2021-04-21 16:59:18 +02:00
parent 0c3d38f4fe
commit ba25087db9

View File

@ -41,7 +41,7 @@
- name: reload the sysctl parameters
command: sysctl --system
when: sysctld.changed
when: >
ansible_distribution != 'Debian'
or ansible_distribution_major_version | int < 10
(ansible_distribution != 'Debian'
or ansible_distribution_major_version | int < 10)
and sysctld.changed