From aee043977f5fc1e89e01b7a1bbc9396a89c63076 Mon Sep 17 00:00:00 2001 From: Jack Ivanov <17044561+jackivanov@users.noreply.github.com> Date: Wed, 30 May 2018 07:43:06 +0300 Subject: [PATCH] explicit installation of linux headers (#975) --- roles/common/tasks/ubuntu.yml | 2 +- tests/local-deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/common/tasks/ubuntu.yml b/roles/common/tasks/ubuntu.yml index e1d9714..b0f347d 100644 --- a/roles/common/tasks/ubuntu.yml +++ b/roles/common/tasks/ubuntu.yml @@ -88,7 +88,7 @@ - coreutils - iptables-persistent - cgroup-tools - - openssl + - "openssl{% if install_headers|default(true)|bool %},linux-headers-{{ ansible_kernel }}{% endif %}" sysctl: - item: net.ipv4.ip_forward value: 1 diff --git a/tests/local-deploy.sh b/tests/local-deploy.sh index efd127c..246132f 100755 --- a/tests/local-deploy.sh +++ b/tests/local-deploy.sh @@ -2,7 +2,7 @@ set -ex -DEPLOY_ARGS="server_ip=$LXC_IP server_user=ubuntu IP_subject_alt_name=$LXC_IP local_dns=true dns_over_https=true apparmor_enabled=false" +DEPLOY_ARGS="server_ip=$LXC_IP server_user=ubuntu IP_subject_alt_name=$LXC_IP local_dns=true dns_over_https=true apparmor_enabled=false install_headers=false" if [ "${LXC_NAME}" == "docker" ] then