ara-web isn't currently in a state where we can demo it and it tends to
confuse users so remove it's mention for now.
Given that we no longer have a distinction between api and web, use
plain "demo.recordsansible.org" instead.
Change-Id: I788d5d457fc011364a7839172fbadc5c24de76d4
Threading is prone to database lock exceptions when using the default
database backend (sqlite) and so disable it by default.
Users can enable threading when using mysql or postgresql by specifying
the ARA_CALLBACK_THREADS environment variable or callback_threads in
ansible.cfg.
Fixes: https://github.com/ansible-community/ara/issues/195
Change-Id: I80edfd6268684722c2783e01323355d791c19b9d
At some point the default was changed from ara-api to ara-report and so
it makes sense to use ara-report in the examples instead of ara-api.
Change-Id: I9962565c8466e9afad01b80e2922af1f154a5f8b
This new configuration option will label playbooks automatically
based on CLI arguments picked up by the callback.
For example, when "--check" is used, it would label the playbook with
the label "check:True" or "check:True" when it isn't used.
Related: https://github.com/ansible-community/ara/issues/148
Related: https://github.com/ansible-community/ara/issues/119
Change-Id: Ifd475875bf83a21ab35c9cf0ac0410520b98d804
This new command will allow to change the status of objects that have
been running for more than 24 hours (by default) without being updated
and so we are expecting these to never finish.
Change-Id: Iedbac84188fc4202f51e405d2fae0a35d34b3a1d
Related: https://github.com/ansible-community/ara/issues/26
This status can eventually be set from different contexts and for
different reasons but for now the main use case is to timeout
objects that have been in the running status for too long and will
never complete.
Change-Id: I13682a69ff2aa3d3609528583209007aa93ded0d
Related: https://github.com/ansible-community/ara/issues/26
When querying the API for a playbook's detail, it would return all of
it's children (hosts, files, tasks, results) which could be very slow
when dealing with larger playbooks.
We no longer do that for playbooks as well as plays and tasks.
Instead, we can easily find a playbook's resources by searching for them
with the playbook id like so:
- /api/v1/plays?playbook=<id>
- /api/v1/tasks?playbook=<id>
- /api/v1/results?playbook=<id>
... and so on.
This commit adapts the built-in UI because it would've otherwise been
broken by the change.
Fixes: https://github.com/ansible-community/ara/issues/158
Change-Id: I442bff657e5da9d6a3916ebdbc5e66c0e670b00f
These were only previously available under git tags but it's useful to
have them included in the docs.
They're generated by the included rudimentary bash script,
changelog-release-notes.sh.
Fixes: https://github.com/ansible-community/ara/issues/167
Change-Id: Ia82edb010de0fd4f6bc891d979b33c42726b2135
These are mainly ported from 'ara playbook list'.
The API support setting the --limit argument to any number and it will
override pagination settings.
Here we are defaulting the limit to 200 instead of a very high number.
It's still meaningfully more than the default pagination setting of 100
while keeping the scale of the damage down in case of footgun scenarios.
Users are free to provide a higher limit if they want, ex: --limit 9000.
Fixes: https://github.com/ansible-community/ara/issues/166
Change-Id: I0a2aab6fedeea758a64b71452f7e249fb8ac516c
Largely inspired by the getting started guide from the README.
- Move installation to getting-started
- Include note about API server on RHEL7/CentOS7
- Mention the Ansible collection in favor of roles
- Add link to Debian packaging
- Add container instructions
Fixes: https://github.com/ansible-community/ara/issues/99
Fixes: https://github.com/ansible-community/ara/issues/137
Change-Id: I0df4fa014038d311d5478e066da7f36e2f453ad2
Back when ara-manage prune was implemented, we didn't yet have a CLI
framework for running commands and so it was implemented using django.
Now that we have a CLI framework, move the command where it belongs.
Fixes: https://github.com/ansible-community/ara/issues/162
Change-Id: Ia3169f4966808611728bb7a70813a66423e54caf
- Merge documentation about plugins and their use cases in a single page
- Improve documentation about plugins and their use cases
- Streamline docs on setup helpers
- Expand toctree on the index from 2 to 3 to include deeper headers
- Rename and re-order sections
- Generally decapitalize ara
- Generally remove personal pronouns (you, your, etc.)
- Allow line lengths up to 120 up from 80
Change-Id: If79a47ff66fc90415ed74f8507c3fe82d4f3488d
This is required for some use cases such as configuring SSL certificates
with remote database backends.
Related: https://github.com/ansible-community/ara/issues/157
Change-Id: I3ae6deee753c9644a1a3e5b8eddbbcd86f9cd10b
The new release of dynaconf has changed how settings are loaded and this
is causing issues. Pin it while we figure out the fix.
Change-Id: If0c25fbb207ec78ff30e62cafa7c077b10a3f90a
This adds the "--with(out)-{failed,changed,unreachable}" arguments
to 'ara host list' in order to filter hosts based on task result stats.
Change-Id: If0d61cc7d9adf962e8e6a2740660d53e3bb2799c