Closed inadarei closed 2 years ago
Thanks! That is indeed a typo.
the consequences of this are severe
As far as I see, this should not have any consequences, since the step is only executed if state == "absent"
, but the whole file is only used if state == "present"
. Still, this is obviously wrong and confusing and should be removed :-)
when I run site.yml on RPIs with Ubuntu, the setup doesn't complete successfully. It eventually hangs.
At what step does it hang?
Looks like there's a lint issue, otherwise GTG. Thank you!
@inadarei just waiting on the lint fix, then GTG!
Ignore the lint fixes, this was caused by pip requirements not being frozen. I fixed this in #119 and will merge it in after it merges
Thank you!
Proposed Changes
Found a suspicious task in setup/Ubuntu that removes
linux-modules-extra-raspi
immediately after adding it. Feels like a typo that accidentally copied what should be in teardown, into setup.However, the consequences of this are severe, since Ubuntu k3s setup without linux-modules-extra-raspi is extremely unstable and thus the rest of the setup is compromised.
Indeed, when I run site.yml on RPIs with Ubuntu, the setup doesn't complete successfully. It eventually hangs. Which is what sent me on the quest to debug it, and I think this typo may be at least one of the culprits.
Checklist
site.yml
playbookreset.yml
playbook