From 01ee56318cd7841cf0b6845a5e9419d81722cecf Mon Sep 17 00:00:00 2001 From: Ahmed AbdelHalim Date: Tue, 7 Jul 2026 15:58:30 +0200 Subject: Fix the proxmox_template linting issue --- roles/pve-lxc/tasks/main.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'roles') diff --git a/roles/pve-lxc/tasks/main.yml b/roles/pve-lxc/tasks/main.yml index 02ae4d0a..56397e50 100644 --- a/roles/pve-lxc/tasks/main.yml +++ b/roles/pve-lxc/tasks/main.yml @@ -1,9 +1,10 @@ --- - name: "Download LXC template" - community.general.proxmox_template: + community.proxmox.proxmox_template: api_host: "{{ ansible_facts['hostname'] }}" api_user: "{{ pve_admin_user }}@pve" api_password: "{{ pve_admin_password }}" + validate_certs: false node: "{{ ansible_facts['hostname'] }}" storage: "local" content_type: "vztmpl" @@ -15,10 +16,11 @@ - "molecule-notest" - name: "Provision LXC container" - community.general.proxmox: + community.proxmox.proxmox: api_host: "{{ ansible_facts['hostname'] }}" api_user: "{{ pve_admin_user }}@pve" api_password: "{{ pve_admin_password }}" + validate_certs: false node: "{{ ansible_facts['hostname'] }}" vmid: "{{ pve_lxc_id }}" hostname: "{{ pve_lxc_hostname }}" @@ -38,10 +40,11 @@ - "molecule-notest" - name: "Start LXC container" - community.general.proxmox: + community.proxmox.proxmox: api_host: "{{ ansible_facts['hostname'] }}" api_user: "{{ pve_admin_user }}@pve" api_password: "{{ pve_admin_password }}" + validate_certs: false node: "{{ ansible_facts['hostname'] }}" vmid: "{{ pve_lxc_id }}" state: started -- cgit v1.2.3