14 lines
276 B
YAML
14 lines
276 B
YAML
---
|
|
- name: Install java-openjdk (Archlinux)
|
|
become: true
|
|
pacman:
|
|
name:
|
|
- jdk-openjdk
|
|
when: ansible_distribution == 'Archlinux'
|
|
|
|
- name: Install java-openjdk (Debian)
|
|
become: true
|
|
apt:
|
|
name:
|
|
- jdk-openjdk
|
|
when: ansible_distribution == 'Debian'
|