Running gunicorn out of a virtualenv in a home directory requires
some extra selinux policies.
Fixes: https://github.com/ansible-community/ara/issues/49
Change-Id: I027d148d846e7add391b28e805f67cbe312dcde0
- Make the intro shorter and more to the point
- Link to ara-web
- Add local dev server to the quickstart
- Include links to live demos and Ansible roles
- Test docs have been moved to contributing docs
Change-Id: Ie82c66965ed220824448048cbbd434c585afe0b9
- Alphabetically sort everything
- Remove double ARA_ENV in the summary table
- Change summary table order to have default before usage
Change-Id: Ia03119d899d9dc6e4abed35d4e9a9655d6b3f348
- Moved workflow diagram to FAQs
- Added live demos
- Removed web screenshots
- Combined "Why is ARA being developed" with
"Why don't you use Ansible Tower (AWX), Rundeck or Semaphore"
Change-Id: Id7da538b8bce52f85ef4c4422a48d3b8b7588150
This is mostly ported as-is from 0.x but contains updates relevant
to GitHub and removes bits about Storyboard.
Change-Id: Ib38a413a2927e3b4cfcb9dbfb24d528c99be7657
These docs are mostly ported as-is from 0.x since the feature hasn't
really changed from a user standpoint.
Change-Id: I4704ef74780c161dc8900b83c93f6ca385fc460a
Between playbook labels and the name of the hosts being searchable,
the host alias feature is redundant.
Change-Id: I0c09e8cf29ca8c82f9fdb496823eebb46f2739f4
Enabling timezone settings caused drifts in log timestamps as settings
were re-loaded.
Since we can't reliably log from settings.py, replace those instances by
the messages prefixed by [ara].
Also move the settings file configuration to __main__ so it doesn't end
up being printed several times.
Fixes: https://github.com/ansible-community/ara/issues/45
Change-Id: I88c40d1af21fec8e917ccb22fe9eee4d9ae8ee2d
The maintainer has suggested that we filter the warnings instead of
creating the directory needlessly.
Change-Id: I901f9f7e14e1308461c6b4f887b5d70b1441fb72
Tags are available as task.tags, there is no need to use _attributes
which now defaults unset values to a new Sentinel class instead of None
or [].
Fixes: https://github.com/ansible-community/ara/issues/46
Change-Id: Ie8b2ef112a54497253ea1c3a1b5956c6284434c3
python3 -m venv is always expected to work while virtualenv_python might
attempt to use a virtualenv binary script.
We already make sure that python3-venv is installed in the ara_api
pre-requirements.
Fixes: https://github.com/ansible-community/ara/issues/43
Change-Id: I0994cd99e24f9a23d0dfeb66e8b838ced7aed948
ansible_user_id is always provided by host facts while ansible_user is
only available when supplied by the user.
Change-Id: I74ac06dab545d65475122139d4aca7422a34631b
Closes: https://github.com/ansible-community/ara/issues/44
By declaring the "ara_playbook_labels" list Ansible variable, the
callback picks them up and sends them to the API.
The API then ensures the label is created and associates it with
the playbook.
Change-Id: Ibe5c36ce005f0a7ce99b38c57439a6dc2277228a
This is ported and adapted from 0.x so users can read how to configure
Ansible to use ARA and how to configure the ARA Ansible plugins.
Change-Id: I021ef773a5bb8e0b1b11cb2a3b8fb6611665e319
This adds support for specifying the "django.db.backends.postgresql"
django database engine, installing the required dependencies and setting
up the necessary configuration.
We're also adding a new package extras [postgresql] which will take care
of installing psycopg2 automatically.
This is self tested by integration tests which creates a postgresql
Docker container and runs the ara_api role configured to run against the
postgresql container. The tests are designed to run either locally or on Zuul.
Change-Id: I9bb7166d01c96d8b39361a55b1c9952de8fa9798
Otherwise we can end up doing something like escalating privileges for
creating directories in /tmp/ and then the regular user won't have
access to them.
We can revisit this later if need be.
Change-Id: Ieb33c23f2d278ed1156a8bc2d39c41bb9b4bb6f6
Customization from a settings.yaml file were not effective because
we were not retrieving them again.
Change-Id: Ia82ab96d02ccc84bdf506d9546c50d49d60f8915
Black is nearing its stable release, so it makes sense to update it and
ensure that we are still formatted properly.
Change-Id: Ib2673093683b1a42d642c4ae201009492cbd32bf
Making playbook arguments available in the list view is a compromise
which increases the size of the response but prevents a call to the
playbook detailed view if the only purpose was to retrieve the playbook
arguments.
For example, this would allow ara-web to provide more context in the
playbook list view (ex: if --check was enabled) without needing additional
API calls for each playbook.
Change-Id: I32c2abfb2770b240ac2ea98c14ce054b922a4dfc
We recently added the API endpoint as well as the ara version directly
at / which makes the /api/v1/info endpoint redundant and unnecessary.
Change-Id: I472be593dccd249ce352760c9c517209cd0469a3
It seems that under some circumstances, "pbr.version" can't be imported
and returns an error:
"version": pbr.version.VersionInfo("ara").release_string(),
AttributeError: module 'pbr' has no attribute 'version'
Change-Id: Ia04dcb49c18c45f1d235ae1158780a060e4053d8
This change adds a welcoming index to the root path so that users
can navigate the api without knowning the path instead of being
given a 404.
Change-Id: If865e3c4ee7e6fa633c74152d6579b94ea75be4a