generated from the-liberated-edge/wikijs
i-1 Introduces an Ansible playbook for linux-container with SSH access #2
@ -1,2 +1,2 @@
|
||||
---
|
||||
...
|
||||
lte_debian_version: bookworm
|
||||
|
||||
@ -7,6 +7,6 @@
|
||||
ansible.builtin.shell:
|
||||
cmd: |
|
||||
lxc launch \
|
||||
images:debian/bookworm/cloud \
|
||||
images:debian/{{ lte_debian_version }}/cloud \
|
||||
{{ lte_container_name }}
|
||||
when: (container_state.rc == 1) or ("RUNNING" not in container_state.stdout)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user