adopt all current suggestions from ansible-lint (#592)
This commit is contained in:
1 parent
53be805099
commit
a1b80fe657
14 files changed
+86
-62
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user