diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-10-16 15:06:16 -0600 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-10-16 15:06:16 -0600 |
| commit | e232a7d85cd293ba53655ea39df090afddc043c4 (patch) | |
| tree | f59810837d72a4faf2fd7a805298f8e36a6abd97 /salt | |
| parent | 758dd29787dfcac0d432b41f740d5ce4246fac74 (diff) | |
java /dev/urandom fix
Diffstat (limited to 'salt')
| -rw-r--r-- | salt/openbook/ansible/files/openjdk.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/salt/openbook/ansible/files/openjdk.yaml b/salt/openbook/ansible/files/openjdk.yaml index acbf1d2..a36a9e3 100644 --- a/salt/openbook/ansible/files/openjdk.yaml +++ b/salt/openbook/ansible/files/openjdk.yaml @@ -39,3 +39,11 @@ - name: "Set icedtea-8 as default java" shell: java-config -S icedtea-8 when: ansible_distribution == "Gentoo" + + - name: "/dev/urandom fix" + lineinfile: + dest: "/etc/java-8-openjdk/security/java.security" + regexp: "{{ item.regexp }}" + line: "{{ item.line }}" + with_items: + - { regexp: '^securerandom.source=file:/dev/random.*$', line: "securerandom.source=file:/dev/urandom" } |
