Code Monkey home page Code Monkey logo

rhpds-controller's Introduction

rhpds-controller

This is a small repo for controlling/deploying RHPDS from Ansible controller

You will need the following created:

NOTE: Make sure you include ansible.tower collection - See requirements.yml

Create Custom Creds - RHPDS

INPUT CONFIGURATION:

fields:
  - id: username
    type: string
    label: Username
  - id: password
    type: string
    label: Password
    secret: true
  - id: url
    type: string
    label: rhpdsurl

INJECTOR CONFIGURATION:


extra_vars:
  rhpdspass: '{{password}}'
  rhpdsurl: '{{url}}'
  rhpdsuser: '{{username}}'

If you want to have this script create/update RHPDS AWS sandbox API KEY and SECRET you will need to Create Ansible Tower Creds

Template Extravar Examples


---
towercredname : AWS_RHPDS_API
org: Random Org
catalogitem : 30000000000080
notes: 'Customer Activity - Proof of Concept provisioned by AnsibleAPI'
rhpdsorder: '{ "action": "order", "resource": { "href":
  "https://rhpds.redhat.com/api/v3.0.0/service_templates/30000000000840",
  "check" : "t",
  "notes" : " {{notes}} "
  } }'
  

Template setup example - Notice added Custom Creds for RHPDS and Ansible Tower - NOTE if you dont add Ansible Tower creds the Creds of AWS_RHPDS_API will not be created or updated!

image

rhpds-controller's People

Contributors

redawg avatar ktenzer avatar ames7 avatar

Stargazers

Alexander Jacocks avatar

Watchers

 avatar  avatar

Forkers

ames7

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.