mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
`make
` module: check return code (#47861)
This commit is contained in:
parent
329922e2dd
commit
9fd5d01d67
1 changed files with 3 additions and 2 deletions
|
@ -139,8 +139,9 @@ def main():
|
||||||
# do anything
|
# do anything
|
||||||
changed = False
|
changed = False
|
||||||
else:
|
else:
|
||||||
# The target isn't upd to date, so we need to run it
|
# The target isn't up to date, so we need to run it
|
||||||
rc, out, err = run_command(base_command, module)
|
rc, out, err = run_command(base_command, module,
|
||||||
|
check_rc=True)
|
||||||
changed = True
|
changed = True
|
||||||
|
|
||||||
# We don't report the return code, as if this module failed
|
# We don't report the return code, as if this module failed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue