mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2023-03-30 11:00
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user