actually fix order of things
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 11m8s Details

This commit is contained in:
Gleb Koval 2023-09-11 01:27:02 +01:00
parent ac3494efc5
commit dfcfe941cf
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
1 changed files with 18 additions and 16 deletions

View File

@ -45,7 +45,7 @@
delay: 10 delay: 10
until: vm.status is defined until: vm.status is defined
# Networking # Networking and initial config
- name: Add HOME NIC - name: Add HOME NIC
community.general.proxmox_nic: community.general.proxmox_nic:
interface: net0 interface: net0
@ -56,14 +56,7 @@
interface: net1 interface: net1
firewall: false firewall: false
bridge: SRV bridge: SRV
- name: Configure cloud-init
# VM Configuration
- name: Resize disk
community.general.proxmox_disk:
disk: scsi0
size: 64G
state: resized
- name: Update VM
community.general.proxmox_kvm: community.general.proxmox_kvm:
update: true update: true
ciuser: debian ciuser: debian
@ -71,13 +64,6 @@
ipconfig: ipconfig:
ipconfig0: ip=dhcp,ip6=auto ipconfig0: ip=dhcp,ip6=auto
ipconfig1: ip=dhcp ipconfig1: ip=dhcp
agent: enabled=1
tags:
- debian-12
- managed
onboot: true
cores: 2
memory: 2048
# Initial boot # Initial boot
# For some reason debian cloud images don't use # For some reason debian cloud images don't use
@ -95,6 +81,22 @@
ansible.builtin.wait_for: ansible.builtin.wait_for:
timeout: 180 timeout: 180
# VM Configuration
- name: Resize disk
community.general.proxmox_disk:
disk: scsi0
size: 64G
state: resized
- name: Update VM
community.general.proxmox_kvm:
agent: enabled=1
tags:
- debian-12
- managed
onboot: true
cores: 2
memory: 2048
- name: Retart VM - name: Retart VM
community.general.proxmox_kvm: community.general.proxmox_kvm:
state: restarted state: restarted