Opened 3 years ago

Closed 3 years ago

#2583 closed task (fixed)

Ansible script to manage upgrades

Reported by: robe Owned by: sac@…
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.

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

Change History (1)

comment:1 by robe, 3 years ago

Resolution: fixed
Status: newclosed

I think this is good enough for first pass

Note: See TracTickets for help on using tickets.