Use lsyncd to push files to gitlab pages server

Server itself in future commit
This commit is contained in:
Jake Howard
2020-09-05 16:24:47 +01:00
parent 1487915bbc
commit e579edc758
4 changed files with 48 additions and 0 deletions

View File

@ -15,3 +15,12 @@
validate: /usr/bin/docker-compose -f %s config
notify: restart gitlab
become: true
- name: Install lsyncd config
template:
src: files/lsyncd.lua
dest: /mnt/tank/app-data/gitlab/lsyncd/lsyncd.lua
mode: "{{ docker_compose_file_mask }}"
owner: "998"
notify: restart gitlab
become: true