Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.75 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.75 KB

ansible_devops_demo

DevOps Automation with Event-Driven Ansible Demo

To deploy:

  1. On RHDP create a new "AWS with OpenShift Open Environment" using m6a.2xlarge instances:

https://demo.redhat.com/catalog?category=Open_Environments&item=babylon-catalog-prod%2Fsandboxes-gpte.sandbox-ocp.prod

  1. Wait for the environment to provision.
  2. Ensure you have a ServiceNow developer account and a ServiceNow dev instance (with hostname and password)
  3. Install Ansible
  4. You need the following collections:
  • ansible.controller (available from Red Hat Cloud Console Automation Hub only)
  • ansible.eda
  • redhat.openshift
  • infra.controller_configuration (available from Red Hat Cloud Console Automation Hub only)
  • servicenow.itsm
  1. Generate an AAP Licensing Manifest File (refer to https://docs.ansible.com/automation-controller/4.4/html/userguide/import_license.html#obtain-sub-manifest for details)
  2. Run the following command (substituting your relevant values):

ansible-playbook -i <inventory_file> -e ocp_host=https://<OpenShift API Hostname>:6443 -e ocp_username=kubeadmin -e ocp_password="<OpenShift Admin Password>" -e aap_manifest_path="<Local Path to AAP Manifest ZIP File for Licensing AAP>" -e snow_hostname="https://<ServiceNow_instance_hostname>" -e snow_password="<ServiceNow_admin_password>" [-e demo_name=<demo_shortname | default = demo_devops>] ./playbooks/_deploy_demo_on_ocp.yml

This will:

  1. Install the AAP Operator
  2. Install AAP with default settings
  3. Obtain the AAP hostname
  4. Install EDA referring to the AAP host
  5. Retrieve hostnames and admin passwords for both AAP and EDA
  6. License AAP with the provided manifest file
  7. Create the demo content within AAP (linked to ServiceNow)
  8. Debug out the hostnames and admin passwords for later access