Fix ansible-lint warning [502] All tasks should be named

Just drop the redundant task
master
Robin Schneider 4 years ago
parent 81c371c6a2
commit e7588cd047
No known key found for this signature in database
GPG Key ID: A81E8006DC95EFE6

@ -15,16 +15,13 @@
- name: (Debian) Get architecture
command: "dpkg --print-architecture"
register: dpkg_arch
register: wireguard__fact_dpkg_arch
changed_when: False
- set_fact:
kernel_header_version: "{{ ('-cloud-' in ansible_kernel) | ternary(ansible_kernel,dpkg_arch.stdout) }}"
- name: (Debian) Install kernel headers to compile Wireguard with DKMS
apt:
name:
- "linux-headers-{{ kernel_header_version }}"
- "linux-headers-{{ ('-cloud-' in ansible_kernel) | ternary(ansible_kernel,wireguard__fact_dpkg_arch.stdout) }}"
state: present
- name: (Debian) Install WireGuard packages

Loading…
Cancel
Save