ansible-role-pureftpd/handlers/main.yml

11 lines
309 B
YAML
Raw Normal View History

2023-04-16 07:43:27 +00:00
---
2024-03-11 19:22:30 +00:00
# handlers file for ansible-role-pureftpd
- name: Restart pureftpd
2023-04-16 10:03:09 +00:00
ansible.builtin.service:
2024-03-11 19:22:30 +00:00
name: pure-ftpd
2023-04-16 10:03:09 +00:00
state: restarted
2024-03-11 19:22:30 +00:00
when: pureftpd_service_state != 'stopped'
2023-04-16 10:03:09 +00:00
become: true
# Ignore errors due to: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754762;msg=9
2024-03-11 19:22:30 +00:00
ignore_errors: true