Giter Site home page Giter Site logo

ansible_advance_homework's Introduction

======================== Ansible Tower Config ===================================

  • From the cloned repo run site-config-tower.yml playbook to create job templates and workflow template.

bastion]# copy your generated pem file to /root/.ssh/mykey.pem bastion]# git clone https://github.com/naikmanoj77/ansible_advance_homework.git bastion]# cd bastion]# pwd (/root) bastion]# cat task.sh

cd /root/ansible_advance_homework export TOWER_GUID=< tower guid > export OSP_GUID= < open stack server id > export OPENTLC_LOGIN= < open stack login name > export OPENTLC_PASSWORD= < open stack password > export GITHUB_REPO=https://github.com/naikmanoj77/ansible_advance_homework_manoj.git export JQ_REPO_BASE=http://www.opentlc.com/download/ansible_bootcamp export REGION=us-east-1 export RH_MAIL_ID=< compony mail id > SSK_KEY=/root/.ssh/mykey.pem #ansible-playbook site-setup-workstation.yml -e OSP_GUID=${OSP_GUID} --private-key=${SSK_KEY} -u ${OPENTLC_LOGIN} ansible-playbook site-config-tower.yml -e tower_GUID=${TOWER_GUID} -e osp_GUID=${OSP_GUID} -e opentlc_login=${OPENTLC_LOGIN} -e path_to_opentlc_key=${SSK_KEY} -e param_repo_base=${JQ_REPO_BASE} -e github_repo=${GITHUB_REPO} -e opentlc_password=${OPENTLC_PASSWORD} -e REGION_NAME=${REGION} -e EMAIL=${RH_MAIL_ID} -e OSP_GUID=${OSP_GUID}

bastion]# sh /root/task.sh

While running the task.sh might be you will get some error of package installation.

which need to fix the repository on workstation server and rerun the script.

once the script is completed successfully, kindly follow the below tasks on tower.

login to the tower using weblink.

go to the Templates.

Run the cicd_workflow tasks to complete the homework.

Thanks & Regards
Manoj

ansible_advance_homework's People

Contributors

naikmanoj77 avatar

Watchers

 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.