Skip to content
Snippets Groups Projects
Verified Commit 1837a8a9 authored by shirenn's avatar shirenn 🌊 Committed by ynerant
Browse files

[crans-scripts] move the scripts to /usr/local/src/scripts

parent 86fd6187
No related branches found
No related tags found
1 merge request!254Cachan
---
glob_crans_scripts:
remote: https://gitlab.adm.crans.org/nounous/scripts.git
group: _nounou
version: master
dest: /usr/local/src/scripts
......@@ -14,3 +14,8 @@ loc_thelounge:
oidentd: "\"/usr/local/lib/thelounge/.oidentd.conf\""
reverseProxy: "true"
ldap_enable: "true"
loc_crans_scripts:
group: nounou
dests:
- /usr/scripts
---
- name: Create scripts directory
file:
path: /usr/scripts
path: "{{ crans_scripts.dest }}"
state: directory
mode: "2775"
owner: root
group: _nounou
group: "{{ crans_scripts.group }}"
- name: Set ACL for scripts directory
acl:
path: /usr/scripts
path: "{{ crans_scripts.dest }}"
default: true
entity: _nounou
entity: "{{ crans_scripts.group }}"
etype: group
permissions: rwx
state: query
......@@ -21,7 +21,7 @@
- name: Clone scripts repository
git:
repo: "{{ crans_scripts.remote }}"
dest: /usr/scripts
dest: "{{ crans_scripts.dest }}"
version: "{{ crans_scripts.version }}"
umask: "002"
register: git_result
......
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