From ab3d2b7ccbeda6adff7677e5ac13d6457e35f985 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sat, 2 Sep 2023 20:21:51 +0100 Subject: [PATCH] remove test-vm --- infra/test-vm/proxmox-playbook.yaml | 24 ------------------------ inventory/proxmox.yaml | 1 - 2 files changed, 25 deletions(-) delete mode 100644 infra/test-vm/proxmox-playbook.yaml diff --git a/infra/test-vm/proxmox-playbook.yaml b/infra/test-vm/proxmox-playbook.yaml deleted file mode 100644 index 2d500e3..0000000 --- a/infra/test-vm/proxmox-playbook.yaml +++ /dev/null @@ -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 diff --git a/inventory/proxmox.yaml b/inventory/proxmox.yaml index ff90334..6b4033d 100644 --- a/inventory/proxmox.yaml +++ b/inventory/proxmox.yaml @@ -8,6 +8,5 @@ proxmox: pve2.mgmt.home.local.koval.net: managed: hosts: - test-vm.mgmt.home.local.koval.net: unmanaged: hosts: