
Change-Id: Ia8249da40bf5eb0e09b5d7811eb126b60dc5dc73 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
17 lines
823 B
Plaintext
17 lines
823 B
Plaintext
export ANSIBLE_HOST_KEY_CHECKING="False"
|
|
export ANSIBLE_ROLES_PATH="${HOME}/ansible25/repositories/roles"
|
|
export ANSIBLE_ACTION_PLUGINS="${HOME}/ansible25/repositories/roles/config_template/action"
|
|
export ANSIBLE_CONNECTION_PLUGINS="${HOME}/ansible25/repositories/roles/plugins/connection"
|
|
export ANSIBLE_LOG_PATH="/tmp/osquery-logs/ansible-elk-test.log"
|
|
|
|
if [[ ! -d "/tmp/osquery-logs" ]]; then
|
|
mkdir -pv "/tmp/osquery-logs"
|
|
chmod 0777 "/tmp/osquery-logs"
|
|
fi
|
|
|
|
echo "To build a test environment run the following:"
|
|
echo -e "# /root/ansible25/bin/ansible-playbook -i tests/inventory/test-container-inventory.yml tests/test.yml --limit localhost\n"
|
|
|
|
echo "Run manual functional tests by executing the following:"
|
|
echo -e "# /root/ansible25/bin/ansible-playbook -i tests/inventory/test-container-inventory.yml site.yml\n"
|