An open API service indexing awesome lists of open source software.

https://github.com/aplyca/ansible-role-ansibletower

Install, upgrade, backup, restore and configure Ansible Tower
https://github.com/aplyca/ansible-role-ansibletower

ansible ansible-roles ansible-tower backup install restore upgrade

Last synced: 2 months ago
JSON representation

Install, upgrade, backup, restore and configure Ansible Tower

Awesome Lists containing this project

README

          

Ansible Role: AnsibleTower
==========================

[![Build Status](https://travis-ci.org/Aplyca/ansible-role-ansibletower.svg?branch=master)](https://travis-ci.org/Aplyca/ansible-role-ansibletower)
[![Circle CI](https://circleci.com/gh/Aplyca/ansible-role-ansibletower.png?style=badge)](https://circleci.com/gh/Aplyca/ansible-role-ansibletower)

Ansible Role for standard creation of roles.

Requirements
------------

Use hash behavior for variables in ansible.cfg
See example: https://github.com/Aplyca/ansible-role-ansibletower/blob/master/tests/ansible.cfg
See official docs: http://docs.ansible.com/intro_configuration.html#hash-behaviour

Installation
------------

Using ansible galaxy:
```bash
ansible-galaxy install Aplyca.AnsibleTower
```
You can add this role as a dependency for other roles, add the role to the meta/main.yml file of your own role:
```yaml
dependencies:
- { role: Aplyca.AnsibleTower }
```

Role Variables
--------------

See default variables: https://github.com/Aplyca/ansible-role-ansibletower/blob/master/defaults/main.yml

Cretae a new role using this as boilerplate
-------------------------------------------

```bash
git clone git@github.com:Aplyca/ansible-role-ansibletower.git NewRole;
cd NewRole;
rm -rf .git;
find ./ -type f -exec sed -i '' -e 's/ansibletower/newrole/g' {} \;
find ./ -type f -exec sed -i '' -e 's/Ansible Tower/New Role/g' {} \;
find ./ -type f -exec sed -i '' -e 's/AnsibleTower/NewRole/g' {} \;
find . -name "ansibletower.*" -exec sh -c 'mv "$1" "$(dirname ${1})/newrole."${1##*.}""' _ {} \;
```

Dependencies
------------

None.

Testing
-------
Using Vagrant:

```bash
tests/vagrant.sh
```
Using Docker:

```bash
tests/docker.sh
```

License
-------

MIT / BSD

Author Information
------------------

Mauricio Sánchez from Aplyca SAS (http://www.aplyca.com)