From f13eb67b180b2950df7ec62f4466e766de6c2dcb Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Wed, 23 Jul 2025 15:39:55 -0400 Subject: [PATCH] Added tasks that configure proftpd --- .../tasks/configure_core/proftpd.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 roles/bootstrap/tasks/configure_core/proftpd.yml 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