-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
AMQ Broker 1845
Create ansible role like this: (add copy & paste od JDKs)
--- mount_location: "/qa/tools" java_bin: "/bin/java" javac_bin: "/bin/javac" - name: Mount MW QE tools nfs shared disk device mount: path: "{{ mount_location }}" src: "nfs-int.rhev-ci.eng.rdu2.redhat.com:/rhev-ci-all-tools" fstype: nfs opts: _netdev,ro,nolock state: present - name: Install java alternative for specified jdks (all) alternatives: name: "java" link: "/usr/bin/java" path: "{{ item }}{{ java_bin }}" with_items: - {{ mount_location }}/{{ ansible_architecture }}/jdk1.8.0_last - {{ mount_location }}/{{ ansible_architecture }}/jdk11_last - {{ mount_location }}/{{ ansible_architecture }}/jdk10_last - {{ mount_location }}/{{ ansible_architecture }}/jdk1.9.0_last - {{ mount_location }}/{{ ansible_architecture }}/jdk1.8.0_last - {{ mount_location }}/{{ ansible_architecture }}/jdk1.7.0_last - {{ mount_location }}/{{ ansible_architecture }}/openjdk11_last - {{ mount_location }}/{{ ansible_architecture }}/openjdk-1.10.0 - {{ mount_location }}/{{ ansible_architecture }}/openjdk-1.9.0 - {{ mount_location }}/{{ ansible_architecture }}/openjdk-1.8.0 - {{ mount_location }}/{{ ansible_architecture }}/openjdk-1.7.0 - {{ mount_location }}/{{ ansible_architecture }}/ibm-java-80 - {{ mount_location }}/{{ ansible_architecture }}/ibm-java-70 - name: Install javac alternative for specified jdks (all) alternatives: name: "java" link: "/usr/bin/javac" path: "{{ item }}{{ javac_bin }}" with_items: - {{ mount_location }}/{{ ansible_architecture }}/jdk1.8.0_last - {{ mount_location }}/{{ ansible_architecture }}/jdk11_last - {{ mount_location }}/{{ ansible_architecture }}/jdk10_last - {{ mount_location }}/{{ ansible_architecture }}/jdk1.9.0_last - {{ mount_location }}/{{ ansible_architecture }}/jdk1.8.0_last - {{ mount_location }}/{{ ansible_architecture }}/jdk1.7.0_last - {{ mount_location }}/{{ ansible_architecture }}/openjdk11_last - {{ mount_location }}/{{ ansible_architecture }}/openjdk-1.10.0 - {{ mount_location }}/{{ ansible_architecture }}/openjdk-1.9.0 - {{ mount_location }}/{{ ansible_architecture }}/openjdk-1.8.0 - {{ mount_location }}/{{ ansible_architecture }}/openjdk-1.7.0 - {{ mount_location }}/{{ ansible_architecture }}/ibm-java-80 - {{ mount_location }}/{{ ansible_architecture }}/ibm-java-70
- relates to
-
ENTMQBR-1932 Support AMQ 7 on Java 11
- Closed