Add checks for defined return codes in samba user management tasks

This commit is contained in:
2026-07-31 02:56:14 +02:00
parent 46327da2ac
commit 0a19c928f5
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -30,6 +30,7 @@
loop_control:
label: '{{ item.item.name }}'
when:
- item.rc is defined
- item.rc == 0
tags:
- samba-user
@@ -60,6 +61,7 @@
loop_control:
label: '{{ item.item.name }}'
when:
- item.rc is defined
- item.rc == 0
tags:
- samba-user