File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed
deployments/ansible/molecule Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,11 @@ jobs:
61
61
matrix :
62
62
ansible :
63
63
# Testing only the versions currently supported per https://endoflife.date/ansible
64
- - ansible~=9.2 .0
65
- - ansible~=8 .7.0
64
+ - ansible~=11.6 .0
65
+ - ansible~=10 .7.0
66
66
distro :
67
67
- amazonlinux2023
68
- - centos8
68
+ - centos9
69
69
- debian11
70
70
- debian12
71
71
- ubuntu2004
@@ -90,12 +90,13 @@ jobs:
90
90
- name : Set up Python 3.
91
91
uses : actions/setup-python@v5
92
92
with :
93
- python-version : ' 3.11 '
93
+ python-version : ' 3.13 '
94
94
cache : ' pip'
95
95
cache-dependency-path : " ${{ github.workspace }}/requirements.txt"
96
96
97
97
- name : Install test dependencies.
98
98
run : |
99
+ python -m pip install --upgrade setuptools
99
100
# workaround for https://github.com/yaml/pyyaml/issues/724
100
101
pip3 install 'wheel==0.40.0'
101
102
pip3 install 'Cython<3.0' 'PyYaml~=5.0' --no-build-isolation
@@ -118,8 +119,8 @@ jobs:
118
119
matrix :
119
120
ansible :
120
121
# Testing only the versions currently supported per https://endoflife.date/ansible
121
- - ansible~=9.2 .0
122
- - ansible~=8 .7.0
122
+ - ansible~=11.6 .0
123
+ - ansible~=10 .7.0
123
124
distro :
124
125
- " 2016"
125
126
- " 2019"
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ driver:
11
11
platforms :
12
12
- name : focal64
13
13
box : ubuntu/focal64
14
- - name : centos8
15
- box : centos/8
14
+ - name : centos9
15
+ box : centos/stream9
16
16
- name : bookworm64
17
17
box : debian/bookworm64
18
18
provisioner :
Original file line number Diff line number Diff line change @@ -48,3 +48,8 @@ RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts
48
48
VOLUME [ "/sys/fs/cgroup" ]
49
49
CMD ["/sbin/init"]
50
50
{% endif %}
51
+
52
+ # Workaround for Ansible Molecule bug causing sudo actions to fail.
53
+ # https://github.com/ansible/molecule/issues/4365
54
+ # https://github.com/geerlingguy/docker-rockylinux9-ansible/issues/6#issuecomment-2805378491
55
+ RUN chmod 0400 /etc/shadow
You can’t perform that action at this time.
0 commit comments