Giter Site home page Giter Site logo

ansible-tower-samples's Introduction

ansible-tower-samples

Ansible Tower Playbook Samples

Using this Repo

Step 1 - Install Ansible Automation Platform

Presumably you have already completed this step before arriving here, however the installation of Automation Controller needs to be completed before you continue.

Step 2 - Edit the Demo Project

  1. Login to your Automation Controller as the admin user and click on Project in the left hand sidebar.
  2. Click on the Demo Project and edit it. Change the Source Control URL to https://github.com/RedHatGov/ansible-tower-samples and save the project.
  3. Make sure the project sync completes.

Step 3 - Create the Controller Credential

  1. Navigate to the Credentials section in the left hand sidebar.
  2. Click the Add button at the top of the screen and use the following values to create your credential.
Name 'Controller Credential'
Organization 'Default'
Credential Type 'Red Hat Ansible Automation Platform'
Red Hat Ansible Automation Platform URL of Controller UI
Username 'admin'
Password admin password

Step 4 - Edit the Demo Job Template

  1. Navigate to the Templates section in the left hand sidebar.
  2. Click on the Demo Job Template and edit it. Change the playbook field to product_demos.yml. If you do not see this option, go back to step 2 and ensure your project is configured and synced properly.
  3. Click the magnifying glass on the Credentials field, change the dropdown in the top right to Red Hat Ansible Automation Platform and select Controller Credential from the list.
  4. Save the job template and click Launch

Customization: If you have customized the product-demos project, now would be the time to update the source URL for your project.

Step 5 - Launch the SETUP Job

  1. Navigate back to the Templates section in the left hand sidebar.
  2. Locate the SETUP job template and click the rocket ship icon on the right to launch the job.
  3. Select the use case from the dropdown that you are interested in and continue.

You have now completed the setup. Refer to ansible/product-demos for further documentation.


Privacy statement | Terms of use | Security disclosure | All policies and guidelines

ansible-tower-samples's People

Contributors

jlaska avatar l3acon avatar matburt avatar willtome avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

ansible-tower-samples's Issues

Document initial setup

The initial setup for using this repo requires an Automation Hub credential attached to the Default organization. Add README to document this

Pin requirements.txt and requirements.yml to specific versions

# requirements.txt example
pandas==1.0.4
pyparsing==2.4.7          # via matplotlib
python-dateutil==2.8.1    # via matplotlib, pandas
pytz==2020.1              # via pandas
scipy==1.4.1              # via seaborn
seaborn==0.10.1
six==1.15.0               # via cycler, python-dateutil
## requirements.yml example

---
collections:
  - name: community.aws
    version: 1.5.0 
  - ansible.windows
  # - community.windows
  - name: amazon.aws
    version: 3.0.0
  - name: ansible.controller
    version: 4.1.0 
  - containers.podman
  # - ansible.tower
  - community.general

Standard Pre-reqs

Ensure that the following standard pre-reqs are met for all demos. At a minimum, these standards should match what is in the Controller after a new install.

  • Demo Project
  • Demo Inventory
  • Demo Credential

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.