|
|
@ -30,6 +30,8 @@
|
|
|
|
- install
|
|
|
|
- install
|
|
|
|
- productivity
|
|
|
|
- productivity
|
|
|
|
- java
|
|
|
|
- java
|
|
|
|
|
|
|
|
become: true
|
|
|
|
|
|
|
|
become_user: nige
|
|
|
|
|
|
|
|
|
|
|
|
- name: Set JAVA_HOME
|
|
|
|
- name: Set JAVA_HOME
|
|
|
|
ansible.builtin.lineinfile:
|
|
|
|
ansible.builtin.lineinfile:
|
|
|
@ -41,6 +43,8 @@
|
|
|
|
- productivity
|
|
|
|
- productivity
|
|
|
|
- java
|
|
|
|
- java
|
|
|
|
when: javahome is defined
|
|
|
|
when: javahome is defined
|
|
|
|
|
|
|
|
become: true
|
|
|
|
|
|
|
|
become_user: nige
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
|
|
|
|
# JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
|
|
|
|