From 8561ea619ae20c794ddf528295570f3a80a3b69b Mon Sep 17 00:00:00 2001 From: "Jorge E. Gomez" Date: Wed, 16 Dec 2020 10:19:55 -0500 Subject: [PATCH] Launch the container --- roles/lxchost/tasks/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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