Fix ansible-CI
parent
358edefa06
commit
93709d3ed9
|
@ -16,14 +16,21 @@
|
|||
owner: root
|
||||
group: nounou
|
||||
|
||||
- name: Set ACL for re2o project
|
||||
command: setfacl -d -m 'g::rwx' /var/local/ansible
|
||||
- name: Set ACL for ansible directory
|
||||
acl:
|
||||
path: /var/local/ansible
|
||||
default: yes
|
||||
entity: nounou
|
||||
etype: group
|
||||
permissions: rwx
|
||||
state: query
|
||||
|
||||
- name: Clone Ansible project
|
||||
git:
|
||||
repo: 'http://gitlab.adm.crans.org/nounous/ansible.git'
|
||||
dest: /var/local/ansible
|
||||
umask: '002'
|
||||
version: 'master'
|
||||
|
||||
- name: Indicate Ansible in motd
|
||||
template:
|
||||
|
|
|
@ -51,8 +51,14 @@
|
|||
owner: "{{ re2o.owner }}"
|
||||
group: "{{ re2o.group }}"
|
||||
|
||||
- name: Set ACL for re2o project
|
||||
command: setfacl -d -m 'g::rwx' /var/www/re2o
|
||||
- name: Set ACL for re2o directory
|
||||
acl:
|
||||
path: /var/www/re2o
|
||||
default: yes
|
||||
entity: nounou
|
||||
etype: group
|
||||
permissions: rwx
|
||||
state: query
|
||||
|
||||
- name: Clone re2o repository
|
||||
git:
|
||||
|
|
Loading…
Reference in New Issue