Browse Source

Create directory if not present

pull/12/head
Egon Rijpkema 2 years ago
parent
commit
d23f4eceb8
  1. 11
      haswell_sym.yml

11
haswell_sym.yml

@ -3,10 +3,17 @@
# Usage: $ ansible-playbook haswell_sym.yml
---
- name: create symlinks
hosts: haswell-test
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:
file:
src: "/apps/group"
dest: "/software/group"
state: link

Loading…
Cancel
Save