#!/bin/bash

node=$1 # 01,02,03,04, ...

source .readENV.sh
ansible-playbook 00-DeployVM/00-Deploy_clean_VM/00-deploy_vm_debian11_on_proxmox.yml --extra-vars="node=$node"
sleep 45
ansible-playbook 00-DeployVM/01-Set_IP_Clean_VM/00-set_IP_Clean_VM.yml --extra-vars="node=$node"
sleep 5
ansible-playbook 00-DeployVM/02-Set_MAC_Clean_VM/00-Set_MAC-Clean_VM.yml --extra-vars="node=$node"
