Update to 2023-03-30 11:00

This commit is contained in:
Daniel Berteaud
2023-03-30 11:00:21 +02:00
parent 874dd6c98a
commit 2a3d56fddc
8 changed files with 33 additions and 5 deletions

View File

@@ -97,3 +97,17 @@
dest: /etc/nginx/conf.d/wapt.conf
notify: restart nginx
tags: wapt
- name: Deploy rsync configuration
template: src=rsyncd.conf.j2 dest=/etc/rsyncd.conf.d/waptrepo.conf
tags: wapt
- name: Deploy WAPT Repo rsync secret
copy: content=wapt:{{ wapt_rsync_pass }} dest=/opt/wapt/conf/rsync.secrets mode=400
when: wapt_rsync_pass is defined
tags: wapt
- name: Remove rsync secret
file: path=/opt/wapt/conf/rsync.secrets state=absent
when: wapt_rsync_pass is not defined
tags: wapt