Opened 2 years ago

Closed 2 years ago

#2716 closed task (fixed)

Bring ansible-deployment back up-to-date

Reported by: strk Owned by: strk
Priority: normal Milestone: Sysadmin Contract 2022-I
Component: SysAdmin Keywords:
Cc:

Description

Delivarable: make deploy-all ANSIBLE_CONFIG=ansible.osgeo.prod.cfg reports no changes and all services still work

Change History (3)

comment:1 by strk, 2 years ago

After many tweaks today (which can be seen in https://git.osgeo.org/gitea/sac/ansible-deployment/commits/branch/master

make check-osgeo7-nginx ANSIBLE_CONFIG=ansible.osgeo.prod.cfg # reports no changes make check-osgeo7 ANSIBLE_CONFIG=ansible.osgeo.prod.cfg # reports no changes

The osgeo4 deploy reports changes because one of the tasks is to upgrade packages, I guess that task should be guarded by some variable to decide whether or not we really want to upgrade... Task name is Upgrade all packages to the latest version

comment:2 by strk, 2 years ago

osgeo4 deploy has the same issue with upgrades being enforced on deploy

comment:3 by strk, 2 years ago

Resolution: fixed
Status: assignedclosed

Fixed with https://git.osgeo.org/gitea/sac/ansible-deployment/commit/dd666fc23e2da8a42dfcfc0aa193390eace14a86 -- we now don't upgrade anymore on deploy, but we have an upgrade-all.yml playbook instead

Note: See TracTickets for help on using tickets.