Files
ansible-collection-infrastr…/roles/proxmox-lxc-provision/tasks/convert.yaml
2026-01-30 20:13:58 -05:00

13 lines
373 B
YAML
Executable File

---
- 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 }}"