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

Merge pull request #156 from l1ll1/master

lustre client in ansible
parents e8dd73e8 fec8dd9f
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
with_tiems: {{ mntlist }}
---
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