Patrick Marchand
8caca4c711
This makes it easier to manage the dependency of the other tasks on this variable. I removed the tags on those tasks so they would not be excluded.
17 lines
558 B
YAML
17 lines
558 B
YAML
---
|
|
|
|
- include: "jail_port.yml"
|
|
when: evobackup_ssh_port = ''
|
|
|
|
- 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"
|