mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added .cymais.service suffix to make cymais files more visible
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- name: "reload backup-docker-to-local.service"
|
||||
- name: "reload backup-docker-to-local.cymais.service"
|
||||
systemd:
|
||||
name: backup-docker-to-local.service
|
||||
name: backup-docker-to-local.cymais.service
|
||||
daemon_reload: yes
|
@@ -14,18 +14,18 @@
|
||||
ignore_errors: true
|
||||
when: run_once_backup_docker_to_local is not defined
|
||||
|
||||
- name: configure backup-docker-to-local-everything.service
|
||||
- name: configure backup-docker-to-local-everything.cymais.service
|
||||
template:
|
||||
src: backup-docker-to-local-everything.service.j2
|
||||
dest: /etc/systemd/system/backup-docker-to-local-everything.service
|
||||
notify: reload backup-docker-to-local-everything.service
|
||||
dest: /etc/systemd/system/backup-docker-to-local-everything.cymais.service
|
||||
notify: reload backup-docker-to-local-everything.cymais.service
|
||||
when: run_once_backup_docker_to_local is not defined
|
||||
|
||||
- name: configure backup-docker-to-local.service
|
||||
- name: configure backup-docker-to-local.cymais.service
|
||||
template:
|
||||
src: backup-docker-to-local.service.j2
|
||||
dest: /etc/systemd/system/backup-docker-to-local.service
|
||||
notify: reload backup-docker-to-local.service
|
||||
dest: /etc/systemd/system/backup-docker-to-local.cymais.service
|
||||
notify: reload backup-docker-to-local.cymais.service
|
||||
when: run_once_backup_docker_to_local is not defined
|
||||
|
||||
- name: set service_name to the name of the current role
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=backup docker volumes to local folder
|
||||
OnFailure=systemd-notifier@%n.service cleanup-failed-docker-backups.service
|
||||
OnFailure=systemd-notifier.cymais@%n.service cleanup-failed-docker-backups.cymais.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=backup docker volumes to local folder
|
||||
OnFailure=systemd-notifier@%n.service cleanup-failed-docker-backups.service
|
||||
OnFailure=systemd-notifier.cymais@%n.service cleanup-failed-docker-backups.cymais.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Reference in New Issue
Block a user