fix(luks_ssh): Only install haveged on older systems
Newer systems do not need it anymore, because this is built in since kernel 5.4. See https://github.com/jirka-h/haveged
This commit is contained in:
parent
20e150f453
commit
bdb4cc72bf
1 changed files with 9 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
|
||||
# Infrastructure
|
||||
# Ansible instructions to deploy the infrastructure
|
||||
# Copyright (C) 2019-2020 Christoph (Sheogorath) Kern
|
||||
|
@ -18,6 +17,12 @@
|
|||
|
||||
- name: Install & configure LUKS SSH setup
|
||||
hosts: luks_ssh
|
||||
roles:
|
||||
- haveged
|
||||
- luks_ssh
|
||||
tasks:
|
||||
- name: Install haveged
|
||||
ansible.builtin.include_role:
|
||||
name: haveged
|
||||
when: ansible_kernel is version('5.4', '<')
|
||||
|
||||
- name: Install LUKS SSH
|
||||
ansible.builtin.include_role:
|
||||
name: luks_ssh
|
||||
|
|
Loading…
Add table
Reference in a new issue