Skip to content
Snippets Groups Projects
Unverified Commit ae82346f authored by Todor Kondic's avatar Todor Kondic
Browse files

roles/ftpserver: Group writable/executable dirs.

parent b954a7b7
No related branches found
No related tags found
No related merge requests found
- name: Restart FTP. - name: Restart FTP.
listen: restart-ftp listen:
- created-certs
- restart-ftp
ansible.builtin.systemd: ansible.builtin.systemd:
state: restarted state: restarted
name: proftpd name: proftpd
......
...@@ -14,7 +14,15 @@ ...@@ -14,7 +14,15 @@
loop: "{{eci_users}}" loop: "{{eci_users}}"
notify: restart-ftp notify: restart-ftp
- name: Configure ProFTPd umask.
ansible.builtin.lineinfile:
regexp: '^Umask'
line: Umask 002 002
path: /etc/proftpd/proftpd.conf
notify: restart-ftp
- name: Configure ProFTPd for multiple virtual users. - name: Configure ProFTPd for multiple virtual users.
tags: proftpd-conf-text tags: proftpd-conf-text
blockinfile: blockinfile:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment