Ansible Role for standard creation of roles.
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
Using ansible galaxy:
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:
dependencies:
- { role: Aplyca.AnsibleTower }
See default variables: https://github.com/Aplyca/ansible-role-ansibletower/blob/master/defaults/main.yml
git clone [email protected]: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##*.}""' _ {} \;
None.
Using Vagrant:
tests/vagrant.sh
Using Docker:
tests/docker.sh
MIT / BSD
Mauricio Sánchez from Aplyca SAS (http://www.aplyca.com)