GithubHelp home page GithubHelp logo

ansible_tower_sync's Introduction

ansible_tower_sync

This is opensource project for PROVISIONING AN AUTOSCALING INFRASTRUCTURE USING ANSIBLE Tower AWX .

This script is polls aws SQS service and creates

1] Inventory in Ansible Tower with Name - e.g Its mandatory to have Role and Environment tag to instance.

e.g

        Role=mongodb 	
        Environment=staging 

Inventory for this instance will be created with staging-mongodb and host gets added with private IP adderess.

2] This script also triggers job with template name so its important to have role template created in ansible tower. e.g mongodb

This Script needs following environment is

  AWS_SQS_QUEUE_NAME: "aws-autoscaling-sqs"
  AWS_REGION: us-east-1
  ORGANIZATION: 1
  TOWER_USER_NAME: admin
  TOWER_PASSWORD: password
  TOWER_VERIFY_SSL: "False"
  TOWER_HOST: http://awxweb
  AWS_SECRET_ACCESS_KEY: "XXXXXX"
  AWS_ACCESS_KEY_ID: "XXXXXXX"

This is available with dockerhub with docker pull sachinpgade/tower_sync

ansible_tower_sync's People

Contributors

sachingade20 avatar

Stargazers

 avatar

Watchers

 avatar  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.