Would like to move to to https://github.com/rug-cit-hpc/pg-playbooks but has large files...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
517 B

---
# Playbook that adds the /etc/fstab entry for /apps
- hosts: all
become: true
tasks:
- name: make endpoint
file:
path: /apps
mode: 0777
state: directory
- name: Add line to fstab
lineinfile:
path: /etc/fstab
line: "172.23.56.1:/software /apps nfs vers=3,rsize=8192,wsize=8192,tcp,async,lock 0 2"
- name: mount all mountpoints in fstab
command: mount -a
args:
warn: false