20 lines
432 B
YAML
20 lines
432 B
YAML
---
|
|
|
|
- set_fact:
|
|
container: '{{ nombre | urlencode | lower | regex_replace("_", "-") }}'
|
|
|
|
- import_tasks: lxd_profile.yml
|
|
|
|
- name: Launch LXD container with Ubuntu 20.04 and Odoo 14 profile
|
|
lxd_container:
|
|
name: '{{ container }}'
|
|
ephemeral: no
|
|
profiles: ['odoo14']
|
|
source:
|
|
type: image
|
|
mode: pull
|
|
server: 'https://cloud-images.ubuntu.com/releases'
|
|
protocol: simplestreams
|
|
alias: f
|
|
|