summaryrefslogtreecommitdiffstats
path: root/roles/common
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common')
-rw-r--r--roles/common/tasks/haveged.yml5
-rw-r--r--roles/common/tasks/main.yml1
2 files changed, 6 insertions, 0 deletions
diff --git a/roles/common/tasks/haveged.yml b/roles/common/tasks/haveged.yml
new file mode 100644
index 0000000..3f03a28
--- /dev/null
+++ b/roles/common/tasks/haveged.yml
@@ -0,0 +1,5 @@
+- name: Install haveged
+ apt: pkg=haveged
+
+- name: Start haveged
+ service: name=haveged state=started
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml
index 8fbeb0c..55feff8 100644
--- a/roles/common/tasks/main.yml
+++ b/roles/common/tasks/main.yml
@@ -1,30 +1,31 @@
---
- include: sysctl.yml tags=sysctl
- include: hosts.yml
- include: apt.yml tags=apt
- include: firewall.yml tags=firewall,iptables
- include: samhain.yml tags=samhain
- include: rkhunter.yml tags=rkhunter
- include: clamav.yml tags=clamav
- include: fail2ban.yml tags=fail2ban
- include: smart.yml tags=smartmontools,smart
+- include: haveged.yml tags=haveged,entropy
- include: ipsec.yml tags=strongswan,ipsec
- include: logging.yml tags=logging
- include: ntp.yml tags=ntp
- include: mail.yml tags=mail,postfix
- name: Install common packages
apt: pkg={{ item }}
with_items:
- ca-certificates
- daemontools
- etckeeper
- ethtool
- git
- harden-clients
- harden-servers
- htop
- molly-guard
- rsync
- screen
- telnet-ssl