gitea-templates/syncpush.yml

16 lines
365 B
YAML

---
- name: Sync push task
hosts: nebula
remote_user: root
tasks:
- name: Copy gitea templates to nebula
tags: sync-push
synchronize:
src: "{{ item }}"
dest: "/var/lib/gitea/{{ item }}-test"
mode: push
register: syncfile
with_items:
- "custom/public/robots.txt"
- "custom/templates/home.tmpl"