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

This commit is contained in:
gballan committed 2026-09-28 14:46:18 -04:00
1 parent 5d8d0c6dea
commit e0575045d2
2 files changed
+22

No files matched your search

+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
- name: Authentication
import_playbook: auth.yml
- name: NFS Client
import_playbook: nfs_client.yml
- name: Packages
import_playbook: packages.yml
- name: Munin