diff --git a/roles/lxchost/tasks/main.yml b/roles/lxchost/tasks/main.yml index b18f1b0..8c2277f 100644 --- a/roles/lxchost/tasks/main.yml +++ b/roles/lxchost/tasks/main.yml @@ -5,3 +5,16 @@ - import_tasks: lxd_profile.yml +- name: Launch LXD container + lxd_container: + name: '{{ container }}' + ephemeral: no + profiles: ['odoo14'] + source: + type: image + mode: pull + server: https://cloud-images.ubuntu.com/releases + protocol: simplestreams + alias: 'ubuntu/20.04' + +# fingerprint: e0c3495ffd48