Closed OckyKristanto-TomTom closed 3 years ago
Just confirming. I'd like to upgrade the version of the agent without needing to destroy the host or uninstall the agent manually. I'd prefer to be able to do an upgrade by bumping az_devops_agent_version
. Thanks for this sweet Ansible role! 🗞️
hey guys, sorry for the late reply. I'll have a look at this today.
[Description] variable
az_devops_agent_version
is used to define agent version. However this version can only be used once and consecutive change will not take effect[Possible root cause] if
config.sh
already present in the target node then this step will be skipped. Thus, the version number which embedded insideaz_devops_agent_package_url
is ignored. In the end, upgrade/downgrade agent is not doable without manually deleteconfig.sh
in the target node