| 12345678910111213141516171819202122232425262728293031323334 |
- ---
- #
- # TODO: fix .m2/settings.xml
- #
- # TODO: copy connect images from quay.io to registry.ocp4.example.com:8443 with --format=v2s2 and then patch
- # ad482/connect_connectors.py ad482/connect_debezium.py ad482/connect_transformation.py
- # to use the new images
- #
- - name: Ensure Java is versioned correctly for AD482
- become: yes
- ansible.builtin.command:
- cmd: /usr/sbin/alternatives --set {{ item }} java-11-openjdk.x86_64
- loop:
- - java
- - javac
- - name: Load the python alternative
- ansible.builtin.slurp:
- src: /var/lib/alternatives/python
- register: altpy
- - name: Install an alternative for python3.9 if not found
- become: yes
- ansible.builtin.command:
- cmd: /usr/sbin/alternatives --install /usr/bin/python python /usr/bin/python3.9 15
- when:
- - not "/usr/bin/python3.9" in (altpy['content'] | b64decode)
- - name: Activate the Python alternative for AD482
- become: yes
- ansible.builtin.command:
- cmd: /usr/sbin/alternatives --set python /usr/bin/python3.9
- ...
|