GithubHelp home page GithubHelp logo

houssoli / automate_tower_lab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redhat-cop/aap_configuration_template

0.0 1.0 0.0 67 KB

Automation content for Ansible Tower to use to spin it up in containers and other future platform.

License: MIT License

YAML 100.00%

automate_tower_lab's Introduction

Ansible Automation Platform Configuration as Code examples template

Is is a combination of all the Red Hat CoP Config as Code collections to deploy and configure AAP. This is built for multi environment (meaning multiple AAP instances/clusters). If you want an object across all environments put it in the correct file/list under the all group. If there is a specific object for only one environment then put it under that environments folder1.

You will need to replace the vault files with your own with these variables:

---
cloud_token: 'this is the one from console.redhat.com'
offline_token: 'this is the one linked below about api token'
rh_username: 'redhat user login (this is used to attach your subs to controller)'
rh_password: 'password for redhat account'
root_machine_pass: 'password for root user on builder (if not root user more changes will need to be made)'
ah_token_password: 'this will create and use this password can be generated'
controller_api_user_pass: 'this will create and use this password can be generated'
controller_pass: 'admin account pass for controller, if none is given it will default to Password1234!'
ah_pass: 'hub admin account pass, if none is given it will default to Password1234!'
vault_pass: 'the password to decrypt this vault'
...

NOTE: Do not forget to update your inventory files replacing the HERE lines, if you do not have a builder server you can use hub for this. Also update scm_url in group_vars/all/projects.yml with your git URL.

controller config

ansible-playbook -i inventory_dev.yml -l dev playbooks/controller_config.yml --ask-vault-pass

automation hub config

ansible-playbook -i inventory_dev.yml -l dev playbooks/hub_config.yml --ask-vault-pass

custom ee

currently doesn't work in CLI, expected to be run in Controller

custom collections

currently doesn't work in CLI, expected to be run in Controller

aap utilities (aap installer)

ansible-playbook -i inventory_dev.yml playbooks/install_aap.yml --ask-vault-pass

Acquire your token at redhat api see access article

install and configure

ansible-playbook -i inventory_dev.yml -l dev playbooks/install_configure.yml --ask-vault-pass -e "env=dev"

Acquire your token at redhat api see access article

Redhat Communities of Practice Configuration Collections Suite

Collection Name Purpose
Controller Configuration Automation controller configuration
Hub Configuration Automation hub configuration
EE Utilities Execution Environment creation utilities
AAP installation Utilities Ansible Automation Platform Utilities
AAP Configuration Template Configuration Template for this suite

Footnotes

  1. If you only have/want one environment you could delete dev/test/prod folders in group_vars and remove all the _all added to vars in all group. โ†ฉ

automate_tower_lab's People

Contributors

djdanielsson avatar houssoli avatar sean-m-sullivan avatar silvinux avatar

Watchers

James Cloos avatar

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.