Added tasks that configure proftpd
This commit is contained in:
19
roles/bootstrap/tasks/configure_core/proftpd.yml
Normal file
19
roles/bootstrap/tasks/configure_core/proftpd.yml
Normal file
@@ -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
|
Reference in New Issue
Block a user