asc.xhack.course_demoapps role – Deploy the course demo web applications
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.course_demoapps.
Entry point main – Deploy the course demo web applications
New in asc.xhack 1.0.0
Synopsis
Deploys the eXtreme Hacking course demo applications as containers on a single VM - deliberately end-of-life PHP/MySQL web apps, a memcached instance and a PhantomJS bot - used for the guided web-exploitation exercises.
Parameters
Parameter |
Comments |
|---|---|
Directory on the VM where the build context and compose project are rendered. Default: |
|
‘course_demoapps’ role configuration |
|
Whether to enable the course_demoapps role Choices:
|
|
Name of the VM to deploy Default: |
|
Size of the VM to deploy (Azure VM size) Default: |
|
MySQL image for the applications’ database, pinned by digest. Default: |
|
memcached image used by the applications. Default: |
|
Base image for the PhantomJS bot container. Default: |
|
Container image for the PHP web applications. Deliberately end-of-life (PHP 5.6) for the course, pinned by digest. Default: |