initial commit
This commit is contained in:
12
roles/proxmox-lxc-provision/tasks/convert.yaml
Executable file
12
roles/proxmox-lxc-provision/tasks/convert.yaml
Executable file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- ansible.builtin.include_tasks: stop.yaml
|
||||
- name: Convert container to template
|
||||
community.general.proxmox:
|
||||
api_user: "{{ proxmox_api_user }}"
|
||||
api_token_id: "{{ proxmox_api_token_id }}"
|
||||
api_token_secret: "{{ proxmox_api_token_secret }}"
|
||||
api_host: "{{ proxmox_api_host }}"
|
||||
node: server
|
||||
|
||||
state: template
|
||||
hostname: "{{ container_hostname }}"
|
||||
Reference in New Issue
Block a user