Details

Result

Field Value
changed
False
cmd
return_code=0
if [[ "$(systemctl is-active glance-registry)" == "active" ]]; then
  systemctl stop glance-registry
  return_code=2
fi
if [[ "$(systemctl is-enabled glance-registry)" == "enabled" ]]; then
  systemctl disable glance-registry
  return_code=2
fi
exit ${return_code}
delta
0:00:00.020950
end
2020-01-31 16:08:32.695240
failed_when_result
False
rc
0
start
2020-01-31 16:08:32.674290
stderr
Failed to get unit file state for glance-registry.service: No such file or directory
stderr_lines
[
    "Failed to get unit file state for glance-registry.service: No such file or directory"
]
stdout

stdout_lines
[]