mg
181da3c38a
keepass vars playbook jenkins java jenkins in inventory Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#80 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
16 lines
454 B
YAML
16 lines
454 B
YAML
---
|
|
# See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199 and
|
|
# https://github.com/geerlingguy/ansible-role-java/issues/64
|
|
- name: Ensure 'man' directory exists.
|
|
file: # noqa 208
|
|
path: /usr/share/man/man1
|
|
state: directory
|
|
recurse: true
|
|
when:
|
|
- ansible_distribution == 'Ubuntu'
|
|
- ansible_distribution_major_version | int >= 18
|
|
|
|
- name: Ensure Java is installed.
|
|
apt:
|
|
name: "{{ java_packages }}"
|
|
state: present
|