diff --git a/roles/lxchost/tasks/lxd_profile.yml b/roles/lxchost/tasks/lxd_profile.yml index abe621b..229ad44 100644 --- a/roles/lxchost/tasks/lxd_profile.yml +++ b/roles/lxchost/tasks/lxd_profile.yml @@ -37,6 +37,7 @@ content: !!binary | '{{ knownhosts | string | b64encode }}' runcmd: + - pip3 install ansible - [ ansible-pull, -U, "ssh://git@gitea.agofer.net:22001/jegomez/ansible-role-odoo14-lxd.git", --vault-password-file, /root/.vault_pass.txt ] diff --git a/roles/lxchost/tasks/main.yml b/roles/lxchost/tasks/main.yml index 995605e..a2fda67 100644 --- a/roles/lxchost/tasks/main.yml +++ b/roles/lxchost/tasks/main.yml @@ -5,7 +5,7 @@ - import_tasks: lxd_profile.yml -- name: Launch LXD container +- name: Launch LXD container with Ubuntu 20.04 and Odoo 14 profile lxd_container: name: '{{ container }}' ephemeral: no @@ -17,5 +17,3 @@ protocol: simplestreams alias: f - # Uses fingerprint, since 'alias' is not working - # fingerprint: e0c3495ffd48