Skip to content
Snippets Groups Projects
Unverified Commit 113de838 authored by Cristian Calin's avatar Cristian Calin Committed by GitHub
Browse files

[ansible] add support for ansible 5 (ansible-core 2.12) (#8512)

parent 652f2edb
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,14 @@ packet_ubuntu20-calico-aio-ansible-2_11: ...@@ -48,6 +48,14 @@ packet_ubuntu20-calico-aio-ansible-2_11:
ANSIBLE_MAJOR_VERSION: "2.11" ANSIBLE_MAJOR_VERSION: "2.11"
RESET_CHECK: "true" RESET_CHECK: "true"
packet_ubuntu20-calico-aio-ansible-2_12:
stage: deploy-part1
extends: .packet_pr
when: on_success
variables:
ANSIBLE_MAJOR_VERSION: "2.12"
RESET_CHECK: "true"
# ### PR JOBS PART2 # ### PR JOBS PART2
packet_ubuntu18-aio-docker: packet_ubuntu18-aio-docker:
......
...@@ -161,7 +161,7 @@ Note: Upstart/SysV init based OS types are not supported. ...@@ -161,7 +161,7 @@ Note: Upstart/SysV init based OS types are not supported.
## Requirements ## Requirements
- **Minimum required version of Kubernetes is v1.21** - **Minimum required version of Kubernetes is v1.21**
- **Ansible v2.9.x, Jinja 2.11+ and python-netaddr is installed on the machine that will run Ansible commands, Ansible 2.10.x is experimentally supported for now** - **Ansible v2.9.x, Jinja 2.11+ and python-netaddr is installed on the machine that will run Ansible commands**
- The target servers must have **access to the Internet** in order to pull docker images. Otherwise, additional configuration is required (See [Offline Environment](docs/offline-environment.md)) - The target servers must have **access to the Internet** in order to pull docker images. Otherwise, additional configuration is required (See [Offline Environment](docs/offline-environment.md))
- The target servers are configured to allow **IPv4 forwarding**. - The target servers are configured to allow **IPv4 forwarding**.
- If using IPv6 for pods and services, the target servers are configured to allow **IPv6 forwarding**. - If using IPv6 for pods and services, the target servers are configured to allow **IPv6 forwarding**.
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
vars: vars:
minimal_ansible_version: 2.9.0 minimal_ansible_version: 2.9.0
minimal_ansible_version_2_10: 2.10.11 minimal_ansible_version_2_10: 2.10.11
maximal_ansible_version: 2.12.0 maximal_ansible_version: 2.13.0
ansible_connection: local ansible_connection: local
tags: always tags: always
tasks: tasks:
......
ansible==5.5.0
ansible-core==2.12.3
cryptography==2.8
jinja2==2.11.3
netaddr==0.7.19
pbr==5.4.4
jmespath==0.9.5
ruamel.yaml==0.16.10
ruamel.yaml.clib==0.2.6
MarkupSafe==1.1.1
packet_ubuntu20-calico-aio.yml
\ No newline at end of file
-r ../requirements-2.12.txt
yamllint==1.19.0
apache-libcloud==2.2.1
tox==3.11.1
dopy==0.3.7
cryptography==2.8
ansible-lint==5.4.0
molecule==3.0.6
molecule-vagrant==0.3
testinfra==5.2.2
python-vagrant==0.5.15
ara[server]==1.5.7
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment