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: install pyspf-milter
15 ignore_errors: "{{ignore_online_errors | bool}}"
18 - name: copy pyspf-milter.conf
21 dest: "/etc/pyspf-milter/pyspf-milter.conf"
26 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/pyspf-milter.conf"
27 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/pyspf-milter.conf"
28 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/pyspf-milter.conf"
29 - "default/pyspf-milter.conf"
30 notify: restart pyspf-milter.service
33 - name: copy pyspf-milter.service to /etc/systemd/system/
36 dest: "/etc/systemd/system/pyspf-milter.service"
41 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/pyspf-milter.service"
42 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/pyspf-milter.service"
43 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/pyspf-milter.service"
44 - "default/pyspf-milter.service"
45 notify: restart pyspf-milter.service
48 - name: enable and start pyspf-milter.service
49 include_role: name="base/systemd/enable-and-start"
51 service_name: pyspf-milter.service