remove test-vm
Infrastructure / Check infrastructure definitions (push) Has been skipped Details
Infrastructure / Deploy all infrastructure (push) Has been skipped Details
Infrastructure / Deploy modified infrastructure (push) Successful in 1m31s Details

This commit is contained in:
Gleb Koval 2023-09-02 20:21:51 +01:00
parent e9087b5a27
commit ab3d2b7ccb
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
2 changed files with 0 additions and 25 deletions

View File

@ -1,24 +0,0 @@
- name: Proxmox test-vm
hosts: localhost
module_defaults:
community.general.proxmox_kvm:
api_user: "{{ lookup('ansible.builtin.env', 'PROXMOX_TOKEN_ID') | regex_replace('!.*') }}"
api_host: "{{ lookup('ansible.builtin.env', 'PROXMOX_HOST' ) }}"
api_token_id: "{{ lookup('ansible.builtin.env', 'PROXMOX_TOKEN_ID') | regex_replace('.*!') }}"
api_token_secret: "{{ lookup('ansible.builtin.env', 'PROXMOX_TOKEN_SECRET') }}"
name: test-vm
node: pve
tasks:
- name: Create test-vm
community.general.proxmox_kvm:
name: test-vm
node: pve
- name: Update test-vm
community.general.proxmox_kvm:
cpu: x86-64-v3
memory: 2048
cores: 3
update: true
- name: Start test-vm
community.general.proxmox_kvm:
state: restarted

View File

@ -8,6 +8,5 @@ proxmox:
pve2.mgmt.home.local.koval.net:
managed:
hosts:
test-vm.mgmt.home.local.koval.net:
unmanaged:
hosts: