summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-07 15:58:30 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-07 15:58:30 +0200
commitcc70d069ee8b414ee31620e7a81c4af0accaf69d (patch)
treef034db2f485a209bbe1ff595f4583f8f6a74e5bc /roles
parent6f9b69c2d298890dcefae098160c11d1a0912816 (diff)
Fix the proxmox_template linting issue
Diffstat (limited to 'roles')
-rw-r--r--roles/pve-lxc/tasks/main.yml9
1 files changed, 6 insertions, 3 deletions
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