feat: Manage container
This commit is contained in:
1 parent
e3f6c9b02e
commit
c8b2969ccf
4 files changed
+111
No files matched your search
@@ -91,3 +91,14 @@
|
||||
current: "{{ proxmox_current_instances.proxmox_vms | map(attribute='name') | sort }}"
|
||||
expected: "{{ proxmox_node_instances.proxmox_vms | map(attribute='name') | sort }}"
|
||||
listen: Disable maintenance mode
|
||||
|
||||
- name: Restart instance
|
||||
community.proxmox.proxmox:
|
||||
api_host: "{{ proxmox_api_host }}"
|
||||
api_user: "{{ proxmox_api_user }}"
|
||||
api_token_id: "{{ proxmox_api_token_id }}"
|
||||
api_token_secret: "{{ proxmox_api_token_secret }}"
|
||||
vmid: "{{ proxmox_instance_vmid }}"
|
||||
node: "{{ proxmox_instance_node }}"
|
||||
state: restarted
|
||||
delegate_to: "{{ proxmox_delegate_to }}"
|
||||
Reference in new issue
Block a user