A template that deploys Ansible Tower onto a single Linux server.
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.
To access Tower, go to the Ansible URL in your browser, and login with the credentials provided as a part of this deployment.
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.
- 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 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 )
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 Keyansible_url
: Tower URLserver_ip
: Server IPansible_username
: Admin Usernameansible_password
: Admin Passwordserver_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
.