Commit Graph

5 Commits

Author SHA1 Message Date
Gregor Michels ea1cf9dc43 playbook_sysupgrade: fix fatal error on local connections
issuing a "sysupgrade" through a jumphost makes ansible raise an
"unrechable" error.

issuing a "sysupgrade" through a direct connection makes ansible raise
an "fatal" error.

Because the latter case was not properly delt with the playbook aborted
for that specific device. This commit fixes this problem.
2023-01-10 02:37:54 +01:00
Gregor Michels dce505c762 playbook_sysupgrade: stringify garet_release
when garet_release only contains digets, playbook_sysupgrade compared
the string from the device itself against an integer from the inventory
always triggering an upgrade.

This should fix this corner case
2023-01-08 04:54:21 +01:00
Gregor Michels 01abb9c160 playbook_sysupgrade: extend fw upgrade automation onto gateways 2022-10-24 01:40:41 +02:00
Gregor Michels a9429b661a playbook_sysupgrade: make idempotent
only issue a sysupgrade if the desired garet version and profile
specified in the inventory does not match the firmware running on the
device.

Because we do not put the firmware files into this git, simply
clone the garet repo, checkout the desired commit, build the needed
profile and then put the firmware file into
  firmware/garet_${profile}-${version}.bin
2022-10-24 00:25:18 +02:00
Gregor Michels 836436e625 incidents: (maintenance) add incident 020 about ap firmware upgrades 2022-09-28 00:40:12 +02:00