adopt all current suggestions from ansible-lint (#592)

This commit is contained in:
schurzi authored and GitHub committed 2022-10-24 09:42:23 +02:00
1 parent 53be805099
commit a1b80fe657
14 files changed
+86 -62

No files matched your search

+1 -1
View File
@@ -42,6 +42,7 @@
register: initramfs
- name: Change sysctls
when: ansible_virtualization_type not in ['docker', 'lxc', 'openvz']
block:
- name: Create a combined sysctl-dict if os-dependent sysctls are defined
set_fact:
@@ -69,7 +70,6 @@
ignoreerrors: true
with_dict: '{{ sysctl_config }}'
when: item.key not in sysctl_unsupported_entries | default()
when: ansible_virtualization_type not in ['docker', 'lxc', 'openvz']
- name: Apply ufw defaults
template: