Ansible/roles/geerlingguy.java/tasks/setup-Debian.yml
James Tombleson 642da849d6 Added Roles
Jenkins
Java
Adding Elastic support for clusters
2019-04-29 16:08:04 -07:00

17 lines
435 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:
path: /usr/share/man/man1
state: directory
recurse: true
when:
- ansible_distribution == 'Ubuntu'
- ansible_distribution_version == '18.04'
- name: Ensure Java is installed.
apt:
name: "{{ java_packages }}"
state: present