|
@@ -9,9 +9,11 @@
|
|
|
line: 'anonymous_enable=NO'
|
|
|
regexp: '#? *anonymous_enable=.*'
|
|
|
become: yes
|
|
|
-- name: disable access for local users
|
|
|
+ notify: reload vsftpd
|
|
|
+- name: enable access for local users
|
|
|
lineinfile:
|
|
|
dest: /etc/vsftpd.conf
|
|
|
- line: 'local_enable=NO'
|
|
|
+ line: 'local_enable=YES'
|
|
|
regexp: '#? *local_enable=.*'
|
|
|
become: yes
|
|
|
+ notify: reload vsftpd
|