[SAC] [OSGeo] #2583: Ansible script to manage upgrades

#2583: Ansible script to manage upgrades
---------------------------+--------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2021-I
Component: Systems Admin | Keywords:
---------------------------+--------------------------------------
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.

https://git.osgeo.org/gitea/sac/ansible-
deployment/src/branch/master/deployment/patch-update-containers.yml

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

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2583&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2583: Ansible script to manage upgrades
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2021-I
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+---------------------------------------
Changes (by robe):

* status: new => closed
* resolution: => fixed

Comment:

I think this is good enough for first pass

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2583#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.