diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-09-02 15:25:25 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-09-02 15:25:25 +0300 |
commit | f9249568edee64d70c60bde45dcfaf4acaefb81c (patch) | |
tree | 06d85d087a66de8505c2624ecc8a1967ed242852 | |
parent | 4ae6739fb0e33018d04eba74bc57f2d30d53b8e4 (diff) | |
download | ansibleness-f9249568edee64d70c60bde45dcfaf4acaefb81c.tar.gz |
Add chaoskey-host role and add it to exolobe3
-rw-r--r-- | ansible/exolobe3.yml | 1 | ||||
-rw-r--r-- | ansible/roles/chaoskey-host/tasks/main.yml | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ansible/exolobe3.yml b/ansible/exolobe3.yml index 8e979a7..1ea5d83 100644 --- a/ansible/exolobe3.yml +++ b/ansible/exolobe3.yml @@ -41,3 +41,4 @@ - gnupg-workstation - firewalled - entropy-key-host + - chaoskey-host diff --git a/ansible/roles/chaoskey-host/tasks/main.yml b/ansible/roles/chaoskey-host/tasks/main.yml new file mode 100644 index 0000000..34c38a8 --- /dev/null +++ b/ansible/roles/chaoskey-host/tasks/main.yml @@ -0,0 +1,7 @@ +- name: install rng-tools + apt: name=rng-tools + +- name: add /dev/chaoskey0 as random number source + lineinfile: + dest: /etc/default/rng-tools + line: HRNGDEVICE=/dev/chaoskey0 |