10 lines
318 B
YAML
10 lines
318 B
YAML
|
- name: restart_apcupsd #wird aufgerufen wenn apcupsd.conf_kopieren nach aenderungen den status "changed hat"
|
||
|
become: yes
|
||
|
systemd:
|
||
|
name: apcupsd
|
||
|
state: restarted
|
||
|
enabled: yes
|
||
|
|
||
|
- name: apc_access_mail
|
||
|
shell: /usr/sbin/apcaccess | mail -s "{{ ansible_hostname }}" {{ empfaenger_mail }}
|