[home] fix names

certbot_on_virtu
_benjamin 2020-12-27 10:34:41 +01:00 committed by Benjamin Graillot
parent c48b1d565c
commit 0bee051045
1 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@
retries: 3 retries: 3
until: apt_result is succeeded until: apt_result is succeeded
- name: Create dns directory - name: Create home directory
file: file:
path: /var/local/home path: /var/local/home
state: directory state: directory
@ -17,7 +17,7 @@
owner: root owner: root
group: nounou group: nounou
- name: Set ACL for dns directory - name: Set ACL for home directory
acl: acl:
path: /var/local/home path: /var/local/home
default: true default: true
@ -26,7 +26,7 @@
permissions: rwx permissions: rwx
state: query state: query
- name: Clone dns repository - name: Clone home repository
git: git:
repo: 'http://gitlab.adm.crans.org/nounous/home.git' repo: 'http://gitlab.adm.crans.org/nounous/home.git'
dest: /var/local/home dest: /var/local/home
@ -34,13 +34,13 @@
- name: Deploy re2o config - name: Deploy re2o config
template: template:
src: dns/config.py.j2 src: home/config.py.j2
dest: /var/local/home/config.py dest: /var/local/home/config.py
mode: 0600 mode: 0600
owner: root owner: root
group: root group: root
- name: Deploy cron for dns - name: Deploy cron for home
template: template:
src: cron.d/home.j2 src: cron.d/home.j2
dest: /etc/cron.d/home dest: /etc/cron.d/home