Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 1.33 KB

README.md

File metadata and controls

53 lines (42 loc) · 1.33 KB

vsftpd

vsftpd installation.

Requirements

No additional requirements.

Role Variables

Settings have been throughly documented for usage.

defaults/main/main.yml.

Dependencies

N/A

Example Playbook

This example sets up a FTP server only allowing virtual users to login and upload files, chrooting them to that directory. Virtual user information is encrypted and stored in an htpasswd formatted file.

host_vars/vsftpd.example.com/vars/vsftpd.yml

vsftpd_virtual_users:
  - {user: 'virtual_user', pass: 'some password in vault'}
vsftpd_local_root_perms:        '0770'
vsftpd_chroot_local_user:       true
vsftpd_guest_enable:            true
vsftpd_hide_ids:                true
vsftpd_local_enable:            true
vsftpd_virtual_use_local_privs: true
vsftpd_write_enable:            true
vsftpd_local_root:              '/srv/ftp'
vsftpd_allow_writeable_chroot:  true

site.yml

- name:   'vsftpd server'
  hosts:  'vsftpd.example.com'
  become: true
  roles:
     - 'r_pufky.vsftpd'

Issues

Create a bug and provide as much information as possible.

Associate pull requests with a submitted bug.

License

AGPL-3.0 License

Author Information

https://keybase.io/rpufky