mirror of
https://github.com/trailofbits/algo
synced 2024-11-16 12:12:55 +00:00
install generic linux headers (#1124)
This commit is contained in:
parent
8f090a36f8
commit
eb2224cde1
2
roles/common/defaults/main.yml
Normal file
2
roles/common/defaults/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
install_headers: true
|
@ -108,7 +108,7 @@
|
||||
- coreutils
|
||||
- iptables-persistent
|
||||
- cgroup-tools
|
||||
- "openssl{% if install_headers|default(true)|bool %},linux-headers-{{ ansible_kernel }}{% endif %}"
|
||||
- openssl
|
||||
sysctl:
|
||||
- item: net.ipv4.ip_forward
|
||||
value: 1
|
||||
@ -125,3 +125,12 @@
|
||||
- "{{ tools|default([]) }}"
|
||||
tags:
|
||||
- always
|
||||
|
||||
- name: Install headers
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
when: install_headers
|
||||
with_items:
|
||||
- linux-headers-generic
|
||||
- "linux-headers-{{ ansible_kernel }}"
|
||||
|
Loading…
Reference in New Issue
Block a user