Skip to content
Snippets Groups Projects
Commit ff7c2018 authored by Chris Hines's avatar Chris Hines
Browse files

initial setup for a CentOS 7 lustre client

parent e8dd73e8
No related branches found
No related tags found
No related merge requests found
---
- include_vars: "{{ ansible_distribution }}_{{ ansible_distirubtion_major_version }}.yaml"
lustre_pkgs:
- lustre-client-modules-2.7.0-3.10.0_229.14.1.el7.x86_64.x86_64.rpm
- lustre-client-2.7.0-3.10.0_229.14.1.el7.x86_64.x86_64.rpm
- name: copy rpms
copy: dest=/tmp/ src={{ item }}
with_items:
{{ lustre_pkgs }}
- name: install rpms
yum: name= /tmp/{{ item }}
sudo: true
with_tiems:
{{ lustre_pkgs }}
- name: "Mount lustre filesystems"
mount: name="{{ item.mntpt }}" src= "{{ item.servers }}"/"{{ item.src }}" state="mounted" fstype="lustre" opts="_netdev,flock 0 0"
sudo: true
---
lustre_pkgs:
- lustre-client-modules-2.7.0-3.10.0_229.14.1.el7.x86_64.x86_64.rpm
- lustre-client-2.7.0-3.10.0_229.14.1.el7.x86_64.x86_64.rpm
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment