--- - name: Managed PVE Environment hosts: localhost connection: local become: no gather_facts: no # --------------------------------------------- # # INLINE VARIABLES # --------------------------------------------- # vars: # Default action is to create and start # an environment # # Available values: # create|start|stop|shutdown|map|snapshot|rollback|destroy __run_action: 'create' tasks: - name: Include required variables for environment include_vars: dir: "vars/{{ __pve_env | default('tower_lab') }}" extensions: - yml ignore_files: - __lab_nodes_minimal.yml # Generate VMIDs once at the start - name: Include generate_vmid role include_role: name: jchristianh.pve.generate_vmid ...