Fix changed_when condition for virtual FTP user updates.

This commit is contained in:
2026-07-31 12:25:56 +02:00
parent 283e12335d
commit 64002750fc
@@ -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