27 lines
478 B
YAML
27 lines
478 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: true
|
|
entity: nounou
|
|
etype: group
|
|
permissions: rwx
|
|
state: query
|
|
|
|
- name: Clone scripts repository
|
|
git:
|
|
repo: "{{ crans_scripts_git }}"
|
|
dest: /usr/scripts
|
|
version: master
|
|
umask: "002"
|
|
environment:
|
|
GIT_SSL_NO_VERIFY: 1
|