File tree Expand file tree Collapse file tree 3 files changed +39
-3
lines changed
Expand file tree Collapse file tree 3 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 2626 - name : Set up Python 3.
2727 uses : actions/setup-python@v5
2828 with :
29- python-version : ' 3.x '
29+ python-version : ' 3.13 ' # Can't go to 3.14+ until Ansible 13.x
3030
3131 - name : Install test dependencies.
3232 run : pip3 install yamllint
5353 - name : Set up Python 3.
5454 uses : actions/setup-python@v5
5555 with :
56- python-version : ' 3.x '
56+ python-version : ' 3.13 ' # Can't go to 3.14+ until Ansible 13.x
5757
5858 - name : Install test dependencies.
5959 run : pip3 install ansible molecule molecule-plugins[docker] docker
Original file line number Diff line number Diff line change 2929 - name : Set up Python 3.
3030 uses : actions/setup-python@v5
3131 with :
32- python-version : ' 3.x '
32+ python-version : ' 3.13 ' # Can't go to 3.14+ until Ansible 13.x
3333
3434 - name : Install Ansible.
3535 run : pip3 install ansible-core
Original file line number Diff line number Diff line change 1+ ---
2+ # Include variables and define needed variables.
3+ - name : Include OS-specific variables.
4+ include_vars : " {{ ansible_os_family }}.yml"
5+
6+ - name : Include overrides specific to Fedora.
7+ include_vars : Fedora.yml
8+ when :
9+ - ansible_os_family == 'RedHat'
10+ - ansible_distribution == "Fedora"
11+
12+ # Setup/install tasks.
13+ - include_tasks : setup-RedHat.yml
14+ when : ansible_os_family == 'RedHat'
15+
16+ - include_tasks : setup-Debian.yml
17+ when : ansible_os_family == 'Debian'
18+
19+ - name : Ensure directories to export exist
20+ file : # noqa 208
21+ path : " {{ item }}"
22+ state : directory
23+ with_items : " {{ nfs_exports | map('split') | map('first') | unique }}"
24+
25+ - name : Copy exports file.
26+ template :
27+ src : exports.j2
28+ dest : /etc/exports
29+ owner : root
30+ group : root
31+ mode : 0644
32+ notify : reload nfs
33+
34+ - name : Ensure nfs is running.
35+ service : " name={{ nfs_server_daemon }} state=started enabled=yes"
36+ when : nfs_exports|length > 0
You can’t perform that action at this time.
0 commit comments