GithubHelp home page GithubHelp logo

jasondunsmore / ansible-tower Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rackspace-orchestration-templates/ansible-tower

0.0 1.0 0.0 149 KB

Rackspace Heat template to deploy Ansible Tower on a single server

License: Apache License 2.0

Python 100.00%

ansible-tower's Introduction

Circle CI Description

A template that deploys Ansible Tower onto a single Linux server.

Instructions

Getting Started

If you are new to Tower, check out the user guide. This installation of tower is limited to 10 machines. If you require support for more than 10 machines, you will need to upgrade your installation. Pricing details for additional support server support can be found here.

Accessing your Deployment

To access Tower, go to the Ansible URL in your browser, and login with the credentials provided as a part of this deployment.

Logging in via SSH

The private key provided in the passwords section can be used to login as root via SSH. We have an article on how to use these keys with Mac OS X and Linux as well as Windows using PuTTY.

Requirements

  • A Heat provider that supports the following:
    • OS::Heat::RandomString
    • OS::Heat::SwiftSignal
    • OS::Heat::SwiftSignalHandle
    • OS::Nova::KeyPair
    • OS::Nova::Server
  • An OpenStack username, password, and tenant id.
  • python-heatclient >= v0.2.8:
pip install python-heatclient

We recommend installing the client within a Python virtual environment.

Parameters

Parameters can be replaced with your own values when standing up a stack. Use the -P flag to specify a custom parameter.

  • flavor: The size is based on the amount of RAM for the provisioned server. (Default: 1 GB General Purpose v1)
  • image: Server image used for all servers that are created as a part of this deployment (Default: Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM))
  • server_name: The instance name (Default: ansible-tower)
  • ansible_tower_tarball: Location of the Ansible Tower installer (Default: http://releases.ansible.com/ansible-tower/setup/ansible-tower-setup-latest.tar.gz )

Outputs

Once a stack comes online, use heat output-list to see all available outputs. Use heat output-show <OUTPUT NAME> to get the value of a specific output.

  • private_key: SSH Private Key
  • ansible_url: Tower URL
  • server_ip: Server IP
  • ansible_username: Admin Username
  • ansible_password: Admin Password
  • server_data: Data from wait condition to report script status

For multi-line values, the response will come in an escaped form. To get rid of the escapes, use echo -e '<STRING>' > file.txt. For vim users, a substitution can be done within a file using %s/\\n/\r/g.

ansible-tower's People

Contributors

brint avatar jasonboyles avatar linuturk avatar pratikmallya avatar rs-randallburt 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.