diff options
| -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" } |
