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

OSGeo trac_osgeo at osgeo.org
Thu Mar 25 13:12:15 PDT 2021


#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>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Sac mailing list