openstack-charmers / zosci-config

1 stars 17 forks source link

Create ~/.local/share/juju directory before running juju #314

Closed freyes closed 9 months ago

freyes commented 9 months ago

The juju snap when installed in strict confirment (>=3.0) can't create the directory ~/.local/share/ due to the restriction in the AppArmor profile, machines used by Zuul don't have that directory available by default.

This change adds a new task before installing juju to create the needed directories. The ansible module ansible.builtin.file creates intermediary directories (if missing).