FIX install ansible in profile
This commit is contained in:
parent
fa31a3f918
commit
a84c1b56c0
@ -37,6 +37,7 @@
|
|||||||
content: !!binary |
|
content: !!binary |
|
||||||
'{{ knownhosts | string | b64encode }}'
|
'{{ knownhosts | string | b64encode }}'
|
||||||
runcmd:
|
runcmd:
|
||||||
|
- pip3 install ansible
|
||||||
- [ ansible-pull,
|
- [ ansible-pull,
|
||||||
-U, "ssh://git@gitea.agofer.net:22001/jegomez/ansible-role-odoo14-lxd.git",
|
-U, "ssh://git@gitea.agofer.net:22001/jegomez/ansible-role-odoo14-lxd.git",
|
||||||
--vault-password-file, /root/.vault_pass.txt ]
|
--vault-password-file, /root/.vault_pass.txt ]
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
- import_tasks: lxd_profile.yml
|
- import_tasks: lxd_profile.yml
|
||||||
|
|
||||||
- name: Launch LXD container
|
- name: Launch LXD container with Ubuntu 20.04 and Odoo 14 profile
|
||||||
lxd_container:
|
lxd_container:
|
||||||
name: '{{ container }}'
|
name: '{{ container }}'
|
||||||
ephemeral: no
|
ephemeral: no
|
||||||
@ -17,5 +17,3 @@
|
|||||||
protocol: simplestreams
|
protocol: simplestreams
|
||||||
alias: f
|
alias: f
|
||||||
|
|
||||||
# Uses fingerprint, since 'alias' is not working
|
|
||||||
# fingerprint: e0c3495ffd48
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user