vsftpd

Document Control

TODO:

  • Overall structure.
  • Initial draft complete
  • Testing
  • Ready

Ansible Role Ansible Quality Score Build Status GitHub issues GitHub last commit

User Story: vsftpd

As a: UNIX and Linux system administrator

I want to: set up and configure vsftpd

So that: serve files over ftp.

Using the role

Using the role in a playbook
---
- name: Install vsftpd
  hosts: all

  tasks:
    - name: vsftpd is configured
      import_role:
        name: crivetimihai.vsftpd
      vars:
        vsftpd_enable_service: true
        vsftpd_copy_templates: true
        vsftpd_firewall_configure: true
        vsftpd_firewall_rules:
          - service: ftp
        vsftpd_enable_selinux: true
        vsftp_selinux_booleans:
          - name: ftp_home_dir
            state: true
            persistent: true
          - name: ftpd_full_access
            state: true
            persistent: true
      tags: vsftpd
# Install the role
ansible-galaxy install crivetimihai.vsftpd

# Run the playbook
ansible-playbook vsftpd-playbook.yml

Last update: 2020-02-04