Opened 4 years ago
Closed 4 years ago
#2583 closed task (fixed)
Ansible script to manage upgrades
Reported by: | robe | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Sysadmin Contract 2021-I |
Component: | SysAdmin | Keywords: | |
Cc: |
Description ¶
I'm slowly getting the hang of the ansible deployment structure and now feel a bit more comfortable.
I setup a barebones playbook to run patch updates on the containers but still needs a lot of work. At moment it just logs into the containers and runs apt update / apt upgrade.
I'd like it to do a bit more like take snapshot of the container before upgrade. Also wrote a playbook to ping all the servers as a warm-up exercise.
I also setup a test staging env that only includes osgeo4 and osgeo4 dev containers so I can tests these playbooks against those before the real servers and have been running these through using the staging env.
https://git.osgeo.org/gitea/sac/ansible-deployment/src/branch/master/inventory/staging
I think this is good enough for first pass