001ed74273
The location where ARA is installed is hard to predict because it will
depend on the operating system, python2 vs python3 or the usage of
virtualenvs, for example.
That's why we have this rather convenient snippet:
python -c "import os,ara; print(os.path.dirname(ara.__file__))"
This snippet is now further reduced to:
python -m ara.setup.path
But there is also many other variants such as:
- python -m ara.setup.path
- python -m ara.setup.callback_plugins
- python -m ara.setup.action_plugins
- python -m ara.setup.library
- python -m ara.setup.env
- python -m ara.setup.ansible
These can also be imported as such:
from ara.setup import path
from ara.setup import callback_plugins
[...]
This might be expanded upon later but let's stop at this for now.
Change-Id: Ibf1eb495ea0df2f6d8589abeb2220b6e93afdea9
(cherry picked from commit
|
||
---|---|---|
.. | ||
README.rst | ||
__init__.py | ||
action_plugins.py | ||
ansible.py | ||
callback_plugins.py | ||
env.py | ||
library.py | ||
path.py |
README.rst
This directory contains scripts meant to help configuring ARA with Ansible.
For more information, visit the documentation.