Fix ansible-lint rule violations
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
hosts: proxmox.localdomain
|
||||
gather_facts: false
|
||||
vars:
|
||||
api_host: "192.168.1.162"
|
||||
api_user: "root@pam"
|
||||
api_token_id: "mytoki"
|
||||
api_token_secret: "ea5114f5-ed39-4277-ac09-a32984be5bc9"
|
||||
proxmox_node: "pve" # Add your Proxmox node name here
|
||||
api_host: 192.168.1.162
|
||||
api_user: root@pam
|
||||
api_token_id: mytoki
|
||||
api_token_secret: ea5114f5-ed39-4277-ac09-a32984be5bc9
|
||||
proxmox_node: pve # Add your Proxmox node name here
|
||||
vars_prompt:
|
||||
- name: new_vm_name
|
||||
prompt: "Enter the name for the new VM"
|
||||
prompt: Enter the name for the new VM
|
||||
private: false
|
||||
tasks:
|
||||
- name: List all VMs and templates
|
||||
@@ -43,11 +43,11 @@
|
||||
api_token_id: "{{ api_token_id }}"
|
||||
api_token_secret: "{{ api_token_secret }}"
|
||||
api_host: "{{ api_host }}"
|
||||
clone: "ubu-srv01"
|
||||
clone: ubu-srv01
|
||||
name: "{{ new_vm_name }}"
|
||||
node: "{{ proxmox_node }}"
|
||||
storage: "local"
|
||||
format: "qcow2"
|
||||
storage: local
|
||||
format: qcow2
|
||||
full: true
|
||||
timeout: 240
|
||||
validate_certs: false
|
||||
|
||||
Reference in New Issue
Block a user