Skip to content

Request a Red Hat Product Demo System (RHPDS) Sandbox

License

Notifications You must be signed in to change notification settings

nleiva/ansible-rhpds

Repository files navigation

RHPDS Sandbox request

Ansible Lint

Playbooks to request a Red Hat Product Demo System (RHPDS) Sandbox and update credentials on Ansible Controller.

Running this

controller_hostname and controller_oauthtoken need to be provided as extra vars or Controller Credentials. Check out Creating an OAuth 2 token.

The Ansible Controller collection (or AWX) namespace needs to be referenced.

  hosts: localhost
  collections:
    - ansible.controller

Connect Private Automation Hub.

Dependencies

All dependencies are included in the Collection requirements.yml and Role requirements.yml files.

Playbooks

custom_credential.yml

It will create a Custom Credential for Ansible Controller to store all the inputs to create a Sandbox.

create_sandbox.yml

It creates an RHPDS AWS Sandbox and updates its credentials in Controller. If you don't provide the custom credential as input, you can pass the variables as extra-vars.

ansible-playbook create_sandbox.yml --extra-vars "cfme_password='' cfme_username='' cfme_url='' service_catalog_id='' service_template_id=''"  -v

About

Request a Red Hat Product Demo System (RHPDS) Sandbox

Topics

Resources

License

Stars

Watchers

Forks

Languages