diff options
Diffstat (limited to 'salt')
| -rw-r--r-- | salt/openbook/ansible/files/openjdk.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/salt/openbook/ansible/files/openjdk.yaml b/salt/openbook/ansible/files/openjdk.yaml index a36a9e3..00c7d90 100644 --- a/salt/openbook/ansible/files/openjdk.yaml +++ b/salt/openbook/ansible/files/openjdk.yaml @@ -47,3 +47,13 @@ line: "{{ item.line }}" with_items: - { regexp: '^securerandom.source=file:/dev/random.*$', line: "securerandom.source=file:/dev/urandom" } + when: ansible_distribution == "Ubuntu" + + - name: "/dev/urandom fix" + lineinfile: + dest: "/etc/java-config-2/current-system-vm/jre/lib/security/java.security" + regexp: "{{ item.regexp }}" + line: "{{ item.line }}" + with_items: + - { regexp: '^securerandom.source=file:/dev/random.*$', line: "securerandom.source=file:/dev/urandom" } + when: ansible_distribution == "Gentoo" |
