aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/network/nfs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/network/nfs.yml')
-rw-r--r--playbooks/network/nfs.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/playbooks/network/nfs.yml b/playbooks/network/nfs.yml
new file mode 100644
index 0000000..1b8717e
--- /dev/null
+++ b/playbooks/network/nfs.yml
@@ -0,0 +1,21 @@
+
+# network/nfs ~~ playbooks/nfs/network.yml
+# nfs network playbook
+
+---
+
+- name: ensure installation and configuration on server side
+ hosts: stack0
+ roles:
+ - role: nfsd
+ vars:
+ nfsd_dirs: "{% for vm in vms %}{{ vm.name }} {% endfor %}"
+ tags: play_network_nfsserver
+
+- name: ensure installation and configuration on client side
+ hosts: ~st[0-9].*
+ roles:
+ - role: nfsclient
+ vars:
+ nfsclient_server_dir: "{{ global.nfs_server_dir }}/{{ ansible_host }}"
+ tags: play_network_nfsclient
remember that computers suck.