Family | Distribution | Version | Test Status |
---|---|---|---|
Debian | Debian | Jessie | |
Debian | Ubuntu | Xenial | |
Debian | Ubuntu | Trusty | |
Debian | Ubuntu | Precise | |
RedHat | Centos | 7 | |
RedHat | CentOS | 6.6 |
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
- ansible >= 2.0
-
debug: flag to run debug tasks.
-
git_build_dependencies: list of build dependencies.
-
git_dir_src: directory where to store the git source.
-
git_path: the directory where to install git.
-
git_prefix: the filename prefix of the git tarball.
-
git_tarball: the filename for the git tarball.
-
git_version: the version to be installed.
-
debug: flag to run debug tasks.
None.
- hosts: servers
vars:
git_version: 1.9.1
roles:
- role: ansiblebit.git
- configuration: configuration tasks.
- debug: task to debug role variables.
- installation: installation tasks.
- validation: task to validate role variables.
To run the tests you will need to install:
To run all tests against all pre-defined OS/distributions * ansible versions:
$ tox
To run tests for trusty64
:
$ cd tests
$ bash test_idempotence.sh --box trusty64.vagrant.dev
# log file will be stores under tests/log
To perform debugging on a specific environment:
$ cd tests
$ vagrant up trusty64.vagrant.dev
# to provision using the test.yml playbook (as many time as you need)
$ vagrant provision trusty64.vagrant.dev
# to access the Vagrant box
$ vagrant ssh trusty64.vagrant.dev