Michael Grote
7dfe80a4dc
Reviewed-on: #588 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
10 lines
332 B
YAML
10 lines
332 B
YAML
---
|
|
- name: restart_apcupsd #wird aufgerufen wenn apcupsd.conf_kopieren nach aenderungen den status "changed hat"
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
name: apcupsd
|
|
state: restarted
|
|
enabled: true
|
|
|
|
- name: apc_access_mail
|
|
ansible.builtin.shell: /usr/sbin/apcaccess | mail -s "{{ ansible_hostname }}" {{ my_mail }}
|