fix: add when condition for sysctl
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
This commit is contained in:
parent
c1bf05670c
commit
2862151a5b
1 changed files with 3 additions and 1 deletions
|
|
@ -155,7 +155,9 @@
|
|||
# sysctl
|
||||
- name: "sysctl - set sysctl"
|
||||
ansible.builtin.import_tasks: "sysctl.yaml"
|
||||
when: "ansible_facts['virtualization_type'] in ['kvm', 'none']"
|
||||
when:
|
||||
- "sysctl is defined"
|
||||
- "ansible_facts['virtualization_type'] in ['kvm', 'none']"
|
||||
tags: "sysctl"
|
||||
|
||||
# systemctl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue