IOPS portable ansible releases
REQUIREMENTS
- the ansible virtual environment relies on an existing python 2.x installation, so python must already be installed on the target system.
- you DO NOT need root-privileges to run this environment (ex: ansible can be installed in user's home directory).
INSTALLATION
- Pick your ansible version from the releases below or build your own release from source
- Download and unpack the corresponding release file:
curl -#k http://ansible.iops.at/ansible-latest.el6.tgz|tar xz
- This will create a directory named ansible that you could use immediately by using full paths:
#> ./ansible/bin/ansible localhost -a 'echo "Hello World'
USAGE
- For full integration into current environment, activate the virtualenv first. You will then be able to run all ansible commands directly:
#> source ./ansible/bin/activate
(ansible) #> ansible --version
- Just type deactivate to leave the virtual environment
(ansible) #> deactivate
#>