From 3cf8e68f5e5d27e8597d24cd0f5a1364880d05b3 Mon Sep 17 00:00:00 2001 From: David Moreau Simard Date: Sat, 7 Apr 2018 23:40:19 -0400 Subject: [PATCH] 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 --- README.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 0238343b..1032bc60 100644 --- a/README.rst +++ b/README.rst @@ -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