ansible-role-vsftpd/handlers/main.yml

11 lines
299 B
YAML
Raw Permalink Normal View History

2023-04-16 07:43:27 +00:00
---
# handlers file for ansible-role-vsftpd
2023-04-16 10:03:09 +00:00
- name: restart vsftpd
ansible.builtin.service:
name: vsftpd
state: restarted
when: vsftpd_service_state != 'stopped'
become: true
# Ignore errors due to: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754762;msg=9
ignore_errors: yes