Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions changelog/fragments/upgrade-python-on-ansible-operator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
entries:
- description: >
For Ansible-based operators, the Python version has been updated
to a newer version, from 3.6 to 3.8 to take advantage of performance
improvements, language additions, security updates and generally
better availability for local development.

kind: change

# Is this a breaking change?
breaking: false
4 changes: 2 additions & 2 deletions images/ansible-operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV HOME=/opt/ansible \
# yum clean all && rm -rf /var/yum/cache/* first
RUN yum clean all && rm -rf /var/cache/yum/* \
&& yum -y update \
&& yum install -y libffi-devel openssl-devel python36-devel gcc python3-pip python3-setuptools \
&& yum install -y libffi-devel openssl-devel python38-devel gcc python38-pip python38-setuptools \
&& pip3 install --no-cache-dir \
ansible-runner==1.3.4 \
ansible-runner-http==1.0.0 \
Expand All @@ -24,7 +24,7 @@ RUN yum clean all && rm -rf /var/cache/yum/* \
openshift==0.10.3 \
ansible==2.9.15 \
jmespath==0.10.0 \
&& yum remove -y gcc libffi-devel openssl-devel python36-devel \
&& yum remove -y gcc libffi-devel openssl-devel python38-devel \
&& yum clean all \
&& rm -rf /var/cache/yum

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ weight: 1
Follow the steps in the [installation guide][install-guide] to learn how to install the `operator-sdk` CLI tool.

## Additional Prerequisites

- [python][python] version 3.8.6+
Comment thread
reinvantveer marked this conversation as resolved.
- [ansible][ansible] version v2.9.0+
- [ansible-runner][ansible-runner] version v1.1.0+
- [ansible-runner-http][ansible-runner-http-plugin] version v1.0.0+
- [openshift][openshift-module] version v0.11.2+


[install-guide]:/docs/installation/
[python]:https://www.python.org/downloads/
[ansible]:https://docs.ansible.com/ansible/latest/index.html
[ansible-runner]:https://ansible-runner.readthedocs.io/en/latest/install.html
[ansible-runner-http-plugin]:https://github.com/ansible/ansible-runner-http
Expand Down