diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-07-07 15:58:30 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-07-07 15:58:30 +0200 |
| commit | cc70d069ee8b414ee31620e7a81c4af0accaf69d (patch) | |
| tree | f034db2f485a209bbe1ff595f4583f8f6a74e5bc /roles/pve-lxc | |
| parent | 6f9b69c2d298890dcefae098160c11d1a0912816 (diff) | |
Fix the proxmox_template linting issue
Diffstat (limited to 'roles/pve-lxc')
| -rw-r--r-- | roles/pve-lxc/tasks/main.yml | 9 |
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 |
