roles/pve/tasks/{create_vm,destroy_vm,enable_vlans}: Rename node srv to pve

This commit is contained in:
Evgeny Sinelnikov 2021-07-04 05:48:29 +04:00
parent 4ddaabf402
commit 34de85486e
3 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@
- name: "[{{vm_name}}] clone VM"
proxmox_kvm:
node: srv
node: pve
api_user: "{{env.pve.username}}"
api_password: "{{env.pve.password}}"
api_host: "{{env.pve.api_url}}"
@ -21,7 +21,7 @@
- name: "[{{vm_name}}] get VM state"
proxmox_kvm:
node: srv
node: pve
api_user: "{{env.pve.username}}"
api_password: "{{env.pve.password}}"
api_host: "{{env.pve.api_url}}"
@ -54,7 +54,7 @@
- name: "[{{vm_name}}] configure VM"
proxmox_kvm:
node: srv
node: pve
api_user: "{{env.pve.username}}"
api_password: "{{env.pve.password}}"
api_host: "{{env.pve.api_url}}"
@ -80,7 +80,7 @@
- name: "[{{vm_name}}] start VM"
proxmox_kvm:
node: srv
node: pve
api_user: "{{env.pve.username}}"
api_password: "{{env.pve.password}}"
api_host: "{{env.pve.api_url}}"

View File

@ -5,7 +5,7 @@
- name: checking that vm exists
proxmox_kvm:
node: srv
node: pve
api_user: "{{env.pve.username}}"
api_password: "{{env.pve.password}}"
api_host: "{{env.pve.api_url}}"
@ -17,7 +17,7 @@
- block:
- name: stopping vm
proxmox_kvm:
node: srv
node: pve
api_user: "{{env.pve.username}}"
api_password: "{{env.pve.password}}"
api_host: "{{env.pve.api_url}}"
@ -27,7 +27,7 @@
timeout: "{{ kvm_timeout }}"
- name: destroying vm
proxmox_kvm:
node: srv
node: pve
api_user: "{{env.pve.username}}"
api_password: "{{env.pve.password}}"
api_host: "{{env.pve.api_url}}"

View File

@ -6,7 +6,7 @@
- name: "[{{vm_name}}] enable all VLANs"
proxmox_kvm:
node: srv
node: pve
api_user: "{{env.pve.username}}"
api_password: "{{env.pve.password}}"
api_host: "{{env.pve.api_url}}"