Add Windows Host

This commit is contained in:
madereddy
2023-12-14 15:27:40 -05:00
parent a80fba6b8b
commit 574fa1517a
5 changed files with 16 additions and 63 deletions
+3 -9
View File
@@ -140,14 +140,8 @@ To clean up the build you can run `clean.yml` against the docker hosts.
`ansible-playbook playbooks/clean.yml --ask-become`
## Section 6: Keeping Docker Containers Up-to-Date
## Section 6: Updating hosts
Lastly, we have the `docker_update_containers.yml` playbook. This playbook is crucial for updating your Docker containers with the latest images. It also re-imports the docker_status.yml playbook to check the status of containers after the update.
Lastly, we have the `update_upgrade.yml` playbook. This playbook is crucial for updating underlying host machines.
At this point you should have all of your hosts running docker containers in the `Docker` group of your `inventory.yml` file.
To update your containers this playbook brings your containers down, deletes their images, and brings them back up to pull the updated images.
**YOU MUST HAVE PERSISTANT STORAGE SETUP! IF YOU DON'T THEN THIS PLAYBOOK WILL <u>DELETE ALL OF YOUR DATA FROM YOUR CONTAINERS**</u> - consider yourself warned.
`ansible-playbook playbooks/docker_update_containers.yml`
`ansible-playbook playbooks/update_upgrade.yml --ask-become `