Adding common /nfs mount to systems
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-09-28 14:44:11 -04:00
parent 5d8d0c6dea
commit e0575045d2
2 changed files with 22 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
---
- name: Setup and mount NFS share
hosts: all
become: true
gather_facts: true
tasks:
- name: Ensure NFS client packages are installed
ansible.builtin.package:
name: "{{ 'nfs-common' if ansible_facts['os_family'] == 'Debian' else 'nfs-utils' }}"
state: present
- name: Ensure NFS share is mounted and persistent in fstab
ansible.posix.mount:
path: /nfs
src: nfs-v4.int.metaunix.net:/export/nfs
fstype: nfs
opts: rw,vers=4,_netdev,sync,hard,intr,rsize=8192,wsize=8192
state: mounted
+2
View File
@@ -6,6 +6,8 @@
import_playbook: base.yml import_playbook: base.yml
- name: Authentication - name: Authentication
import_playbook: auth.yml import_playbook: auth.yml
- name: NFS Client
import_playbook: nfs_client.yml
- name: Packages - name: Packages
import_playbook: packages.yml import_playbook: packages.yml
- name: Munin - name: Munin