sdfg
This commit is contained in:
parent
eb61edfbf6
commit
53b675f325
2 changed files with 4 additions and 2 deletions
|
@ -8,3 +8,5 @@ rsync_mirror_timer: '*-*-* *:00/5'
|
||||||
rsync_mirror_dirs:
|
rsync_mirror_dirs:
|
||||||
- src: /hdd_data/tmp # slashes beachten
|
- src: /hdd_data/tmp # slashes beachten
|
||||||
dest: rsync_mirror@pbs.mgrote.net:/backup/pve5/tmp
|
dest: rsync_mirror@pbs.mgrote.net:/backup/pve5/tmp
|
||||||
|
|
||||||
|
## todo ssh konfig in datei statt inline?
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
- name: Include source tasks
|
- name: Include source tasks
|
||||||
ansible.builtin.include_tasks: source.yml
|
ansible.builtin.include_tasks: source.yml
|
||||||
when: "source" in rsync_host
|
when: "'source' in rsync_host"
|
||||||
|
|
||||||
- name: Include destination tasks
|
- name: Include destination tasks
|
||||||
ansible.builtin.include_tasks: destination.yml
|
ansible.builtin.include_tasks: destination.yml
|
||||||
when: "destination" in rsync_host
|
when: "'destination' in rsync_host "
|
||||||
|
|
Loading…
Reference in a new issue