ansible-roles/evobackup-client/tasks/upload_scripts.yml
Patrick Marchand 1c12827c9c
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build encountered an error
Added evobackup-client role
2019-08-30 14:43:52 -04:00

17 lines
571 B
YAML

---
- name: Upload evobackup script
template:
src: "{{ item }}"
dest: "{{ evobackup-client___cron_path }}"
force: true
mode: 0755
with_first_found:
- "templates/evobackup-client/{{ evobackup-client___cron_template_name }}.{{ inventory_hostname }}.sh.j2"
- "templates/evobackup-client/{{ evobackup-client___cron_template_name }}.{{ host_group }}.sh.j2"
- "templates/evobackup-client/{{ evobackup-client___cron_template_name }}.sh.j2"
- "zzz_evobackup.default.sh.j2"
tags:
- evobackup-client
- evobackup-client-backup-scripts