hotfix: use auto python interpreter for package tasks, virtualenv for all other tasks

This commit is contained in:
Ben Partridge
2020-11-03 11:51:52 +11:00
parent 73bd0f407a
commit 229bbf01f6
13 changed files with 51 additions and 34 deletions

View File

@@ -12,11 +12,13 @@
gpgkey: https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public
gpgcheck: yes
state: present
ansible_python_interpreter: auto
- name: Install AdoptOpenJDK
yum:
name: "adoptopenjdk-{{ java_major_version }}-hotspot"
state: present
ansible_python_interpreter: auto
- name: Ensure common JDK symlink exists
alternatives:
@@ -33,3 +35,4 @@
yum:
name:
- dejavu-fonts-common # Required by the installer
ansible_python_interpreter: auto