Fix changed_when condition for virtual FTP user updates.
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
-q {{ user.ratio_ul | default('""') }}
|
-q {{ user.ratio_ul | default('""') }}
|
||||||
-Q {{ user.ratio_dl | default('""') }}
|
-Q {{ user.ratio_dl | default('""') }}
|
||||||
when: common_pureftpd_virtual_user_exists.rc == 0
|
when: common_pureftpd_virtual_user_exists.rc == 0
|
||||||
changed_when: true
|
changed_when: false
|
||||||
notify: reload Pure-FTPd users
|
notify: reload Pure-FTPd users
|
||||||
|
|
||||||
- name: (create-virtual-ftp-user.yml) Update virtual ftp user password for {{ user.name }}
|
- name: (create-virtual-ftp-user.yml) Update virtual ftp user password for {{ user.name }}
|
||||||
@@ -58,5 +58,5 @@
|
|||||||
pure-pw passwd {{ user.name }}
|
pure-pw passwd {{ user.name }}
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
when: common_pureftpd_virtual_user_exists.rc == 0
|
when: common_pureftpd_virtual_user_exists.rc == 0
|
||||||
changed_when: true
|
changed_when: false
|
||||||
notify: reload Pure-FTPd users
|
notify: reload Pure-FTPd users
|
||||||
|
|||||||
Reference in New Issue
Block a user