Fix ansible-CI

certbot_on_virtu
_pollion 2019-12-17 14:23:33 +01:00
parent 358edefa06
commit 93709d3ed9
2 changed files with 17 additions and 4 deletions

View File

@ -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:

View File

@ -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: