ansible-roles/vsftpd/tasks/main.yml

15 lines
304 B
YAML

---
- name: Install the vsftpd package
apt: pkg=vsftpd state=installed
tags:
- vsftpd
- ftp
- name: Install the vsftpd configuration file
template: src=vsftpd.conf.j2 dest=/etc/vsftpd.conf mode=0444 owner=root group=root
notify: Restart the vsftpd server
tags:
- vsftpd
- ftp