Update quickstart instructions in the README

Use the new setup module for the callback plugin location, it's
easier to use than some arcane python one-liner.

Change-Id: Ie140c95bd1877c5d659187843bdb0c84dc72afaa
This commit is contained in:
David Moreau Simard 2018-04-07 23:40:19 -04:00
parent 66cdf1c38a
commit 3cf8e68f5e
No known key found for this signature in database
GPG Key ID: 33A07694CBB71ECC
1 changed files with 5 additions and 2 deletions

View File

@ -24,10 +24,13 @@ Quickstart
# Install ARA
pip install ara
# Make Ansible use the ARA callback plugin regardless of python version
export ANSIBLE_CALLBACK_PLUGINS="$(python -c 'import os,ara; print(os.path.dirname(ara.__file__))')/plugins/callbacks"
# Make Ansible use the ARA callback plugin regardless of location or python version
export ANSIBLE_CALLBACK_PLUGINS="$(python -m ara.setup.callback_plugins)"
# Run your playbook
# ansible-playbook myplaybook.yml
# Start the ARA standalone webserver
ara-manage runserver
# Browse http://127.0.0.1:9191