Would like to move to to https://github.com/rug-cit-hpc/pg-playbooks but has large files...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

43 lines
973 B

# creates symlinks in /sofware for haswell nodes:
#
# Usage: $ ansible-playbook haswell_sym.yml
---
- name: create symlinks
hosts: haswell
tasks:
- name: Make /software directory if not present.
file:
path: /software
state: directory
owner: root
mode: 0755
- name: create symlink /software/group
file:
src: "/apps/group"
dest: "/software/group"
state: link
- name: create symlink /software/lmod
file:
src: "/apps/haswell/lmod"
dest: "/software/lmod"
state: link
- name: create symlink /software/licenses
file:
src: "/apps/licenses"
dest: "/software/licenses"
state: link
- name: create symlink /software/modules
file:
src: "/apps/haswell/modules"
dest: "/software/modules"
state: link
- name: create symlink /software/software
file:
src: "/apps/haswell/software"
dest: "/software/software"
state: link