openstack-ansible-ops/bootstrap-embedded-ansible
Georgina Shippey b05893ae39 Fixes for tests/gates
Bump ansible version to 2.10.5
Prefer python3 over python2
Fix ansible str vs int comparisons
Print a message if setting defaultIndex in kibana 6 fails
Use saved_objects API for setting defaultIndex in kibana 7
Update version in dashboard path for 7x
ILM doesn't like bodies from GET requests
Stop using forked galera_server role, now that 633321 is merged
Force osquery inventory to python3
Update zuul jobs

Change-Id: Ibfc20b1605245927ad4de4a54e751a13defb1ee0
2021-03-01 00:02:17 +01:00
..
ansible-requirements.yml Replace git.openstack.org URLs with opendev.org URLs 2019-07-09 16:36:22 +00:00
bootstrap-embedded-ansible.sh Fixes for tests/gates 2021-03-01 00:02:17 +01:00
embedded-ansible-setup.yml Update the embedded-ansible-setup process to be configurable 2019-01-04 11:46:19 -06:00
osa-inventory.sh Update the embedded-ansible-setup process to be configurable 2019-01-04 11:46:19 -06:00
python-requirements.txt Update the embedded-ansible-setup process to be configurable 2019-01-04 11:46:19 -06:00
README.rst Update the embedded-ansible-setup process to be configurable 2019-01-04 11:46:19 -06:00

Create an embedded Ansible runtime

tags

embedded, ansible

About this repository

The embedded ansible script will create an ansible runtime within the users home folder. This ansible runtime will be within a virtual envrionment and have all of the plugins required to run ansible standalone or in an OpenStack-Ansible compatible envrionment.

Usage

source bootstrap-embedded-ansible.sh

With the script sourced, the ansible environment will create a virtual environment at ${HOME}/ansible_venv if it does not already exist.

To leave the embedded ansible environment run the function deactivate.

Options

All options are passed in using environment variables.

ANSIBLE_VERSION:

Allows for the Ansible XXX to be overridden. When set the full ansible version is required.

ANSIBLE_EMBED_HOME:

Allows for the Ansible XXX to be overridden. When set the full path is required.

ANSIBLE_ROLE_REQUIREMENTS:

Allows for the Ansible XXX to be overridden. When set the full path to the role requirements file is required.

ANSIBLE_PYTHON_REQUIREMENTS:

Allows for the Ansible XXX to be overridden. When set the full path to the python requirements file is required.