We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pushed the config changes and updated the apt packages just fine, but failed to reboot at the end.
fatal: [192.168.1.80]: FAILED! => {"changed": true, "cmd": ["/sbin/reboot", "-t", "now"], "delta": "0:00:00.045698", "end": "2016-02-18 11:20:00.375066", "failed": true, "rc": 1, "start": "2016-02-18 11:20:00.329368", "stderr": "/sbin/reboot: invalid option -- 't'", "stdout": "", "stdout_lines": [], "warnings": []}
You don't need the -t option for reboot, I believe that /sbin/reboot would suffice in the Playbook?
/sbin/reboot
The text was updated successfully, but these errors were encountered:
@SirRawlins Was this isolated or did you see it repeatedly?
Sorry, something went wrong.
I can't honestly remember @motdotla - sorry.
I am having a similar issue with Ansible 2.2.0.0 on MacOS 10.12.3
It seems to be an issue with command not liking && If I do command: reboot it works. and If I do shell: sleep 2 && reboot it works.
command
&&
command: reboot
shell: sleep 2 && reboot
Successfully merging a pull request may close this issue.
Pushed the config changes and updated the apt packages just fine, but failed to reboot at the end.
You don't need the -t option for reboot, I believe that
/sbin/reboot
would suffice in the Playbook?The text was updated successfully, but these errors were encountered: