summaryrefslogtreecommitdiffstats
path: root/roles/storage/tasks/main.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-08-13 21:33:02 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-08-13 21:33:02 +0200
commita5dc813bab19dffe02dadfb58c19b455df199a08 (patch)
tree6940c72f6b57abcfe00a638cd480b215a2625da2 /roles/storage/tasks/main.yml
parent9194983c4daf6f0e16aa382bc903b6c092d08830 (diff)
downloaditm-a5dc813bab19dffe02dadfb58c19b455df199a08.tar.gz
itm-a5dc813bab19dffe02dadfb58c19b455df199a08.tar.bz2
itm-a5dc813bab19dffe02dadfb58c19b455df199a08.tar.xz
itm-a5dc813bab19dffe02dadfb58c19b455df199a08.zip
Prevent IB from crashing Fedora systems, mount Ands shared NFS storage, support development files on CentOS
Diffstat (limited to 'roles/storage/tasks/main.yml')
-rw-r--r--roles/storage/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/storage/tasks/main.yml b/roles/storage/tasks/main.yml
new file mode 100644
index 0000000..871e785
--- /dev/null
+++ b/roles/storage/tasks/main.yml
@@ -0,0 +1,9 @@
+---
+- name: Ensure NFS common is installed.
+ package: name=nfs-utils state=present
+
+- name: Create mountable dir
+ file: path=/mnt/ands state=directory mode=755 owner=root group=root
+
+- name: set mountpoints
+ mount: name=/mnt/ands src=192.168.26.140:/mnt/ands fstype=nfs4 opts=defaults,minorversion=1,_netdev,nofail,soft,nodiratime,noatime dump=0 passno=0 state=mounted