25 lines
461 B
YAML
25 lines
461 B
YAML
---
|
|
- name: Create scripts directory
|
|
file:
|
|
path: /usr/scripts
|
|
state: directory
|
|
mode: '2775'
|
|
owner: root
|
|
group: nounou
|
|
|
|
- name: Set ACL for scripts directory
|
|
acl:
|
|
path: /usr/scripts
|
|
default: yes
|
|
entity: nounou
|
|
etype: group
|
|
permissions: rwx
|
|
state: query
|
|
|
|
- name: Clone scripts repository
|
|
git:
|
|
repo: 'http://gitlab.adm.crans.org/nounous/scripts.git'
|
|
dest: /usr/scripts
|
|
version: master
|
|
umask: '002'
|