diff --git a/roles/bootstrap/tasks/configure_core/proftpd.yml b/roles/bootstrap/tasks/configure_core/proftpd.yml new file mode 100644 index 0000000..47acdde --- /dev/null +++ b/roles/bootstrap/tasks/configure_core/proftpd.yml @@ -0,0 +1,19 @@ +--- +- name: Configure ProFTPd + block: + - name: Apply proftpd configuration template + become: yes + become_method: sudo + template: + src: proftpd/proftpd.conf.j2 + dest: /etc/proftpd/proftpd.conf + force: yes + backup: yes + - name: Apply proftpd virtualhost configuration template + become: yes + become_method: sudo + template: + src: proftpd/vhost.conf.j2 + dest: /etc/proftpd/conf.d/hosts.conf + force: yes + backup: yes \ No newline at end of file