1 #####################################
2 ### someone's ansible provisioner ###
3 #####################################
4 # Part of: https://git.somenet.org/root/pub/somesible.git
5 # 2017-2024 by someone <someone@somenet.org>
8 - name: copy unit-status-mail unit file
11 dest: "/etc/systemd/system/unit-status-mail@.service"
13 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/unit-status-mail.service"
14 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/unit-status-mail.service"
15 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/unit-status-mail.service"
16 - "default/unit-status-mail.service"
19 - name: copy systemd-unit-status-mail shell script
22 dest: "/bin/systemd-unit-status-mail.sh"
27 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/systemd-unit-status-mail.sh"
28 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/systemd-unit-status-mail.sh"
29 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/systemd-unit-status-mail.sh"
30 - "default/systemd-unit-status-mail.sh"
33 - name: reload systemd