Skip to content
Snippets Groups Projects
Commit eb4076ff authored by Kerri Wait's avatar Kerri Wait
Browse files

Very rough ansible role for symlinks

parent 2f5862df
No related branches found
No related tags found
1 merge request!537Symlink cronjob role and template
---
- name: Create a directory for the symlink scripts
ansible.builtin.file:
path: /opt/symlinker/
state: directory
mode: '0755'
- name: Template project symlink script to /opt/symlinker/symlinker-{{ lustrefs }}.sh
ansible.builtin.template:
src: symlinker.sh.j2
dest: /opt/symlinker/symlinker-{{ lustrefs }}.sh
owner: root
group: root
mode: '0700'
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