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: "restart systemd-notifier-email service"
|
||||
systemd:
|
||||
name: systemd-notifier-email.service
|
||||
name: systemd-notifier-email.cymais.service
|
||||
daemon_reload: yes
|
||||
|
@@ -3,7 +3,9 @@
|
||||
when: run_once_systemd_notifier_email is not defined
|
||||
|
||||
- name: configure msmtprc.conf.j2
|
||||
template: src=msmtprc.conf.j2 dest=/root/.msmtprc
|
||||
template:
|
||||
src: "msmtprc.conf.j2"
|
||||
dest: "/root/.msmtprc"
|
||||
when: run_once_systemd_notifier_email is not defined
|
||||
|
||||
- name: "create {{systemd_notifier_email_folder}}"
|
||||
@@ -14,11 +16,15 @@
|
||||
when: run_once_systemd_notifier_email is not defined
|
||||
|
||||
- name: configure systemd-notifier-email.sh
|
||||
template: src=systemd-notifier-email.sh.j2 dest={{systemd_notifier_email_folder}}systemd-notifier-email.sh
|
||||
template:
|
||||
src: systemd-notifier-email.sh.j2
|
||||
dest: "{{systemd_notifier_email_folder}}systemd-notifier-email.sh"
|
||||
when: run_once_systemd_notifier_email is not defined
|
||||
|
||||
- name: configure systemd-notifier-email.service
|
||||
template: src=systemd-notifier-email@.service.j2 dest=/etc/systemd/system/systemd-notifier-email@.service
|
||||
- name: configure systemd-notifier-email.cymais.service
|
||||
template:
|
||||
src: systemd-notifier-email@.service.j2
|
||||
dest: /etc/systemd/system/systemd-notifier-email.cymais@.service
|
||||
notify: restart systemd-notifier-email service
|
||||
when: run_once_systemd_notifier_email is not defined
|
||||
|
||||
|
Reference in New Issue
Block a user