A role to install lustre client modules from a network share
Tested on EL7
Assumes you will build/obtain the module rpm's and place those to the given location beforehand. Tested with Ansible 1.9.4 and 2.0.2.
lustre_lnet_networks: (default: none) - what to put to /etc/modprobe.d/lustre.conf
lustre_mount_opts: (default: [_netdev,noatime,localflock,noauto]) - Lustre mount options
lustre_mounts: (default: none) - Lustre mounts list of `{ path: , src: , opts: [] }`
lustre_packages: (default: lustre-client)
- lustre-client
lustre_network_devices: (default none) - which network devices should be brought up to make lustre work
- <network device>
The role is written to be standalone
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: ansible-role-lustre_client }
Apache License Version 2.0, January 2004