File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010jobs :
1111
1212 list-scenarios :
13- runs-on : ubuntu-22 .04
13+ runs-on : ubuntu-24 .04
1414 outputs :
1515 matrix : ${{ steps.listscenarios.outputs.scenarios }}
1616 steps :
2222 name : Test
2323 needs :
2424 - list-scenarios
25- runs-on : ubuntu-22 .04
25+ runs-on : ubuntu-24 .04
2626 strategy :
2727 # Keep running so we can see if other tests pass
2828 fail-fast : false
@@ -32,11 +32,11 @@ jobs:
3232 - uses : actions/checkout@v4
3333 - uses : actions/setup-python@v4
3434 with :
35- python-version : ' 3.9 '
35+ python-version : ' 3.12 '
3636 - name : Install Ansible & Molecule
3737 run : |
38- pip install " ansible<8" " ansible-lint<6.13" flake8
39- pip install " molecule<5" " ansible-compat<4"
38+ pip install ansible ansible-lint flake8
39+ pip install molecule ansible-compat
4040 pip install molecule-plugins[docker] pytest-testinfra
4141 - name : Run molecule
4242 run : molecule test -s "${{ matrix.scenario }}"
4646 if : startsWith(github.ref, 'refs/tags')
4747 needs :
4848 - test
49- runs-on : ubuntu-22 .04
49+ runs-on : ubuntu-24 .04
5050 steps :
5151 - uses : actions/checkout@v4
5252 - name : Read the role name
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ galaxy_info:
55 description : Manage NFS4 mounts
66 company : Open Microscopy Environment
77 license : BSD
8- min_ansible_version : 2.4
8+ min_ansible_version : 2.11
99 platforms :
1010 - name : EL
1111 versions :
Original file line number Diff line number Diff line change 44- name : Install NFS mount utility
55 become : true
66 ansible.builtin.dnf :
7- update_cache : true
87 name : nfs-utils
98 state : present
109 when : ansible_os_family == "RedHat"
1312 become : true
1413 ansible.builtin.apt :
1514 update_cache : true
15+ cache_valid_time : 86400
1616 pkg : nfs-common
1717 state : present
1818 when : ansible_os_family == "Debian"
2323
2424- name : Mount NFS share
2525 become : true
26- mount :
26+ ansible.builtin. mount :
2727 fstype : nfs
2828 name : " {{ item.path }}"
2929 opts : " vers={{ nfs_version }},{{ item.opts | default(nfs_mount_opts) }}"
You can’t perform that action at this time.
0 commit comments