Skip to content

Commit 6d85d71

Browse files
committed
Support check mode in systemd_creds_encrypt
1 parent 7e7856c commit 6d85d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/modules/systemd_creds_encrypt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def main():
150150

151151
encrypt_cmd.append("-")
152152

153-
if dest:
153+
if dest and not module.check_mode:
154154
encrypt_cmd.append(dest)
155155
else:
156156
encrypt_cmd.append("-")

0 commit comments

Comments
 (0)