13 lines
471 B
YAML
Executable File
13 lines
471 B
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
# vim:ft=ansible:
|
|
---
|
|
- hosts: vm-bastion-1.home.mgmt.desu.ltd
|
|
gather_facts: no
|
|
tasks:
|
|
- name: assure nfs mount directory
|
|
ansible.builtin.file: path=/nfs/projects state=directory mode=0755
|
|
tags: [ storage ]
|
|
- name: assure nfs mount
|
|
mount: path=/nfs/projects src=192.168.190.1:/nfs/projects fstype=nfs4 opts="rsize=10248576,wsize=1048576,soft,timeo=600,retrans=2,_netdev" state=mounted
|
|
tags: [ storage ]
|