ansible/playbooks/home_bastion.yml

13 lines
471 B
YAML
Raw Normal View History

2022-03-07 10:46:02 -06:00
#!/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
2022-06-16 23:45:29 -05:00
ansible.builtin.file: path=/nfs/projects state=directory mode=0755
2022-03-07 10:46:02 -06:00
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 ]