fix: rename roles to use underscores instead of hyphens which was causing the roles not to be found
This commit is contained in:
11
roles/proxmox_lxc_provision/tasks/start.yml
Executable file
11
roles/proxmox_lxc_provision/tasks/start.yml
Executable file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Start the LXC container
|
||||
community.general.proxmox:
|
||||
<<: "{{ proxmox_api_connection }}"
|
||||
vmid: "{{ lxc_result.vmid }}"
|
||||
state: started
|
||||
register: start_result
|
||||
retries: 3
|
||||
delay: 5
|
||||
until: start_result is success
|
||||
failed_when: start_result.failed and ('already running' not in start_result.msg)
|
||||
Reference in New Issue
Block a user