mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Solved cleanup-failed-docker-backups path bug
This commit is contained in:
@@ -10,16 +10,16 @@
|
||||
register: pkgmgr_output
|
||||
when: run_once_cleanup_failed_docker_backups is not defined
|
||||
|
||||
- name: Set fact for backup_docker_to_local_cleanup_folder
|
||||
- name: Set fact for backup_docker_to_local_cleanup_script
|
||||
set_fact:
|
||||
backup_docker_to_local_cleanup_folder: "{{ pkgmgr_output.stdout }}"
|
||||
backup_docker_to_local_cleanup_script: "{{ pkgmgr_output.stdout.rstrip('/') ~ '/cleanup-all.sh' }}"
|
||||
when: run_once_cleanup_failed_docker_backups is not defined
|
||||
|
||||
- name: configure cleanup-failed-docker-backups.cymais.service
|
||||
template:
|
||||
template:
|
||||
src: cleanup-failed-docker-backups.service.j2
|
||||
dest: /etc/systemd/system/cleanup-failed-docker-backups.cymais.service
|
||||
notify: reload cleanup-failed-docker-backups.cymais.service daemon
|
||||
notify: Reload and restart cleanup-failed-docker-backups.cymais.service
|
||||
when: run_once_cleanup_failed_docker_backups is not defined
|
||||
|
||||
- name: set service_name to the name of the current role
|
||||
|
Reference in New Issue
Block a user