ansible-roles/vsftpd/handlers/main.yml

13 lines
300 B
YAML

---
- name: Start the vsftpd server
service: name=vsftpd state=started enabled=yes
- name: Stop the vsftpd server
service: name=vsftpd state=stopped
- name: Restart the vsftpd server
service: name=vsftpd state=restarted
- name: Reload the vsftpd server
service: name=vsftpd state=reloaded