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