31 lines
714 B
YAML
31 lines
714 B
YAML
- name: install proftpd
|
|
apt:
|
|
name: proftpd
|
|
state: present
|
|
update_cache: yes
|
|
|
|
|
|
# make `/mirror/root` dir
|
|
|
|
# will this overwrite the /mirror/root/include ?
|
|
|
|
# double check perms
|
|
|
|
# proftpd requires modules (how to install ?)
|
|
- name: Copy assets
|
|
copy:
|
|
src: "{{ role_path }}/templates/proftpd.conf"
|
|
dest: /etc/proftpd/proftpd.conf
|
|
# owner: root
|
|
# group: root
|
|
# mode: "0755"
|
|
|
|
|
|
# also need to get
|
|
# /etc/proftpd/blacklist.dat (binary)
|
|
# /etc/proftpd/dhparams.pem (maybe not)
|
|
# /etc/proftpd/ldap.conf (unable to read)
|
|
# /etc/proftpd/modules.conf (and maybe everything in /usr/lib/proftpd/)
|
|
# /etc/proftpd/sql.conf (unable to read)
|
|
# /etc/proftpd/tls.conf
|
|
# /etc/proftpd/virtuals.conf |