asc.xhack.core_xhack role – Deploy the eXtreme Hacking environment’s core infrastructure
Note
This role is part of the asc.xhack collection (version 2.0.0).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it use: git clone git@ssh.dev.azure.com:v3/cloudasc/iac-ansible-collections/xhack $HOME/.ansible/collections/ansible_collections/asc/xhack.
To use it in a playbook, specify: asc.xhack.core_xhack.
Entry point main – Deploy the eXtreme Hacking environment’s core infrastructure
New in asc.xhack 1.0.0
Synopsis
Deploys the networking for the eXtreme Hacking environment on top of
asc.core- the students, course and lab virtual networks and their peerings - and carves out per-student lab networks when configured for dedicated mode.The course, lab and student roles all build on the networks this role creates.
Parameters
Parameter |
Comments |
|---|---|
‘core_xhack’ role configuration |
|
Whether to enable the core eXtreme Hacking infrastructure Choices:
|
|
Lab network layout. |
|
CIDR the lab network(s) are allocated from. Default: |
|
Whether to deploy the lab network. Choices:
|
|
Choices:
|
|
Virtual networks for the xHack students, course and lab environments, keyed by vnet name. Each vnet takes Merged with the other modules’ vnets into |
|
Virtual network peerings for the xHack environments, each a Merged with the other modules’ peerings into Default: |
|
Name of the first vnet. |
|
Name of the second vnet. |