asc.core.common role
Note
This role is part of the asc.core collection (version 1.0.4).
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/core $HOME/.ansible/collections/ansible_collections/asc/core.
To use it in a playbook, specify: asc.core.common.
Entry point add-guac-connection – Add a Guacamole connection for a user
New in asc.core 1.0.0
Synopsis
Add a Guacamole connection for a user
Parameters
Parameter |
Comments |
|---|---|
List of connection groups to add (Terraform resource identifier) |
|
List of connections to add (Terraform resource identifier) |
|
Email address of the target user to add the connection for |
|
Username of the target user to add the connection for |
Entry point configure-ssh – Configure SSH connection for Guacamole access
New in asc.core 1.0.0
Synopsis
Configure SSH connection for Guacamole access
Parameters
Parameter |
Comments |
|---|---|
Password of the admin user on the target system |
|
Username of the admin user on the target system |
|
Public key to use for the Guacamole SSH connection |
Authors
Lorenzo Bernardi
Entry point create-ssl-selfsignedcert – Create a self-signed SSL certificate
New in asc.core 1.0.0
Synopsis
Create a self-signed SSL certificate
Parameters
Parameter |
Comments |
|---|---|
Create a PKCS keystore Choices:
|
|
Path to the SSL certificate file |
|
Path to the SSL key file |
|
Common name of the SSL certificate subject |
|
Country name of the SSL certificate subject |
|
Email address of the SSL certificate subject |
|
Organization name of the SSL certificate subject |
Authors
Lorenzo Bernardi
Entry point enable-aadssh – Enable AAD SSH authentication
New in asc.core 1.0.0
Synopsis
Enable AAD SSH authentication
Authors
Lorenzo Bernardi
Entry point generate-ssh-keypair – Generate a SSH keypair
New in asc.core 1.0.0
Synopsis
Generate a SSH keypair
Authors
Lorenzo Bernardi
Entry point import-students – Import students from ‘users’ variable
New in asc.core 1.0.0
Synopsis
Import students from ‘users’ variable
Filters the list of users and selects only the ones with the ‘student’ tag
For each user, generate an ID (2 digits, incremental) and store it in the ‘id’ variable
For each user, store the name of the assigned VM in the ‘vm’ variable
Parameters
Parameter |
Comments |
|---|---|
List of users |
Authors
Lorenzo Bernardi