mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
Modify based on feedback
This commit is contained in:
parent
b4fe18e6ff
commit
793518be3c
1 changed files with 1 additions and 1 deletions
|
|
@ -654,7 +654,7 @@ def main():
|
|||
result = dict(changed=changed, rc=rc, cmd=cmdstr, stdout_lines=out_lines, msg=out_clean)
|
||||
|
||||
if quiet:
|
||||
changes = len(out_lines) - 1 if len(out_lines) >= 1 else 0
|
||||
changes = out.count(changed_marker) if changed else 0
|
||||
result['msg'] = "%s files/directories have been synchronized" % changes
|
||||
|
||||
if module._diff:
|
||||
|
|
|
|||
Loading…
Reference in a new issue