4 Commits

Author SHA1 Message Date
Hemanth Nakkina
09474aafad [microk8s-cloud] support strict confinement for snaps
Parameterize microk8s snap installation to choose
channel and confinement.
In case of strict confinement, change the group
and escalate the privileges to run microk8s command.

Ensure ~/.local/share directory exists that allows
running juju commands in strict confinement mode.

Fix linting issues.

Change-Id: Iba52349df9c6d077cd33a4786359fc2d54182068
2023-01-13 11:30:56 +05:30
Liam Young
82801d4cc2 Ensure log collection always runs
Move log collection to a post run job which always runs
irrespective of whether the main part succeeds

Change-Id: I41b145b5df0f785a7acf1495b0f54f5401d63464
2022-10-28 10:05:52 +00:00
Liam Young
3c4120fc28 Reorganise into roles
Reorganise the ansible config into distinct roles. This will
make managing templates and default variables cleaner. I have tested
this as best I can locally.

Change-Id: Ib0be8dde453064336fd2e69afe466f4d64956743
2022-10-27 14:25:55 +00:00
Liam Young
db29fcf441 Make ansible files consistent with job names
Change-Id: I92af309a150d2c412ea0fb24725f44d3c5830b87
2022-10-17 08:56:17 +00:00