You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.
I've been heavily editing the code for my own purposes and the bug may not show up, but I did try to make sure it appeared in the original.
Essentially the code breaks down at "Stop and remove all the disabled containers" inside the docker role. This seems to be because the docker user isn't set up yet even though the user is added to the docker group above.
I found two fixes to this but there may be better ways about this.
change become to yes for all subsequent docker tasks.
perform a reboot before this step
-- here I ran into several issues:
the default reboot in ansible will try to reconnect via the original port 22. So if you change your ssh port this task will infinitely hang.
--to get around this: I essentially made another port jungle with a reboot delay. I tried to set the ansible_port before reboot, but this causes errors, so I went with a more brute force solution and left it at that.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Some disclaimers before I continue this:
I've been heavily editing the code for my own purposes and the bug may not show up, but I did try to make sure it appeared in the original.
Essentially the code breaks down at "Stop and remove all the disabled containers" inside the docker role. This seems to be because the docker user isn't set up yet even though the user is added to the docker group above.
I found two fixes to this but there may be better ways about this.
-- here I ran into several issues:
the default reboot in ansible will try to reconnect via the original port 22. So if you change your ssh port this task will infinitely hang.
--to get around this: I essentially made another port jungle with a reboot delay. I tried to set the ansible_port before reboot, but this causes errors, so I went with a more brute force solution and left it at that.
The text was updated successfully, but these errors were encountered: