File tree Expand file tree Collapse file tree 3 files changed +28
-9
lines changed
Expand file tree Collapse file tree 3 files changed +28
-9
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ jobs:
2727 - name : Set up Python 3.
2828 uses : actions/setup-python@v6
2929 with :
30- python-version : 3 .x
30+ python-version : ' 3.13 ' # Can't go to 3.14+ until Ansible 13 .x
3131
3232 - name : Install test dependencies.
33- run : pip3 install ansible ansible-lint
33+ run : pip3 install ansible-core ansible-lint
3434
3535 - name : Lint code.
3636 run : |
@@ -39,14 +39,16 @@ jobs:
3939 molecule :
4040 name : Molecule
4141 runs-on : ubuntu-latest
42+ continue-on-error : true
4243 strategy :
4344 matrix :
4445 include :
45- - distro : debian12
46+ - distro : debian13
4647 playbook : converge.yml
47- - distro : rockylinux9
48+ - distro : rockylinux10
4849 playbook : converge.yml
4950 - distro : ubuntu2404
51+ playbook : converge.yml
5052 steps :
5153 - name : Check out the codebase.
5254 uses : actions/checkout@v6
@@ -56,10 +58,10 @@ jobs:
5658 - name : Set up Python 3.
5759 uses : actions/setup-python@v6
5860 with :
59- python-version : " 3.x "
61+ python-version : ' 3.13 ' # Can't go to 3.14+ until Ansible 13.x
6062
6163 - name : Install test dependencies.
62- run : pip3 install ansible molecule molecule-docker docker
64+ run : pip3 install ansible molecule molecule-plugins[ docker] docker
6365
6466 - name : Run Molecule tests.
6567 run : molecule test
Original file line number Diff line number Diff line change 11---
22- name : Converge
33 hosts : all
4- become : true
4+
55 vars :
66 ssh_config__env : " test"
7+
78 pre_tasks :
89 - name : Update apt cache
910 ansible.builtin.apt :
1011 update_cache : true
1112 cache_valid_time : 600
12- when : ansible_os_family == "Debian"
13+ when : ansible_facts.os_family == "Debian"
1314 changed_when : false
15+
16+ - name : Wait for systemd to complete initialization. # noqa 303
17+ command : systemctl is-system-running
18+ register : systemctl_status
19+ until : >
20+ 'running' in systemctl_status.stdout or
21+ 'degraded' in systemctl_status.stdout
22+ retries : 30
23+ delay : 5
24+ when : ansible_facts.service_mgr == 'systemd'
25+ changed_when : false
26+ failed_when : systemctl_status.rc > 1
27+
1428 roles :
1529 - role : ngine_io.ssh_config
Original file line number Diff line number Diff line change 11---
2+ role_name_check : 1
23dependency :
34 name : galaxy
5+ options :
6+ ignore-errors : true
47driver :
58 name : docker
69platforms :
710 - name : instance
8- image : " geerlingguy/docker-${MOLECULE_DISTRO:-debian12 }-ansible:latest"
11+ image : " geerlingguy/docker-${MOLECULE_DISTRO:-debian13 }-ansible:latest"
912 command : ${MOLECULE_DOCKER_COMMAND:-""}
1013 volumes :
1114 - /sys/fs/cgroup:/sys/fs/cgroup:rw
You can’t perform that action at this time.
0 commit comments