summaryrefslogtreecommitdiffstats
path: root/ansible/node/roles/clusterfs/tasks/redhat/clusterfs-gpfs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/node/roles/clusterfs/tasks/redhat/clusterfs-gpfs.yml')
-rw-r--r--ansible/node/roles/clusterfs/tasks/redhat/clusterfs-gpfs.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/ansible/node/roles/clusterfs/tasks/redhat/clusterfs-gpfs.yml b/ansible/node/roles/clusterfs/tasks/redhat/clusterfs-gpfs.yml
new file mode 100644
index 0000000..c77e380
--- /dev/null
+++ b/ansible/node/roles/clusterfs/tasks/redhat/clusterfs-gpfs.yml
@@ -0,0 +1,20 @@
+---
+- name: install GPFS packages
+ package:
+ name:
+ - gpfs.base
+ - gpfs.docs
+ - gpfs.gpl
+ - gpfs.msg.en_US
+ - gpfs.gskit
+ state: present
+
+- name: install GPFS /etc/profile.d/ snippet
+ copy:
+ src: autocluster-gpfs.profile
+ dest: /etc/profile.d/autocluster-gpfs.sh
+
+- name: build GPFS modules
+ shell: LINUX_DISTRIBUTION=REDHAT_AS_LINUX /usr/lpp/mmfs/bin/mmbuildgpl
+ args:
+ chdir: /usr/lpp/mmfs/src