@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
14 lines (12 loc) • 349 B
YAML
- name: Install OpenJDK
become: false
community.general.homebrew:
name: '{{ java_packages }}'
state: present
- name: Ensure JDK is symlinked
file:
src: "/usr/local/opt/{{ item }}/libexec/openjdk.jdk"
dest: "/Library/Java/JavaVirtualMachines/{{ item | replace('@','-') }}.jdk"
state: link
loop: "{{ java_packages }}"