Michael Vollman b5ed2d024f Fix ansible path for elk_metrics_6x tests
Fix the failing elk_metrics_6x tests by changing the ansible venv path
to ~/ansible_venv.  Update tests to ensure when the bootstrap ansible
script changes both osquery and elk_metrics_6x tests are run.

Change-Id: Ic79c52ae21294373ca67be264fd287fdf32b4c9a
2018-11-08 09:45:30 -06:00

26 lines
695 B
ReStructuredText

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
^^^^^
.. code-block:: bash
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 enviornment run the function `deactivate`.