Slight docs tweak, split lines according to code standards
This commit is contained in:
parent
838b914a0d
commit
c1fbf80f70
1 changed files with 3 additions and 2 deletions
|
@ -51,7 +51,7 @@ options:
|
||||||
required: false
|
required: false
|
||||||
checksum:
|
checksum:
|
||||||
description:
|
description:
|
||||||
- Skip based on checksum, not mod-time & size; Pay attention that "archive" option is enable by default: "checksum" option will not disable it.
|
- Skip based on checksum, rather than mod-time & size; Note that that "archive" option is still enabled by default: the "checksum" option will not disable it.
|
||||||
choices: [ 'yes', 'no' ]
|
choices: [ 'yes', 'no' ]
|
||||||
default: 'no'
|
default: 'no'
|
||||||
required: false
|
required: false
|
||||||
|
@ -307,7 +307,8 @@ def main():
|
||||||
changed = changed_marker in out
|
changed = changed_marker in out
|
||||||
out_clean=out.replace(changed_marker,'')
|
out_clean=out.replace(changed_marker,'')
|
||||||
out_lines=out_clean.split('\n')
|
out_lines=out_clean.split('\n')
|
||||||
while '' in out_lines: out_lines.remove('')
|
while '' in out_lines:
|
||||||
|
out_lines.remove('')
|
||||||
return module.exit_json(changed=changed, msg=out_clean,
|
return module.exit_json(changed=changed, msg=out_clean,
|
||||||
rc=rc, cmd=cmdstr, stdout_lines=out_lines)
|
rc=rc, cmd=cmdstr, stdout_lines=out_lines)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue