ara/roles/ara_tests
David Moreau Simard 6d00938099
Make API server deps optional, move them to extras
This makes it so "pip install ara" would only install a minimal
amount of dependencies (pbr and requests as of this commit) required
for running the Ansible callback plugin as well as ara_record.

The server dependencies can be installed by running
"pip install ara[server]".

Fixes: https://github.com/ansible-community/ara/issues/36
Change-Id: I67769d28ec24cade7753230dffd0b049358af29a
2019-05-03 16:01:30 -04:00
..
defaults Streamline integration test role and make it easier to run 2019-03-26 12:54:46 -04:00
meta Streamline integration test role and make it easier to run 2019-03-26 12:54:46 -04:00
tasks Make API server deps optional, move them to extras 2019-05-03 16:01:30 -04:00
README.rst Streamline integration test role and make it easier to run 2019-03-26 12:54:46 -04:00

ansible-role-ara-tests

An Ansible role that installs ARA and Ansible to run quick and inexpensive tests that do not require superuser privileges.

Role Variables

See defaults/main.yaml.

../../roles/ara_tests/defaults/main.yaml

TL;DR

- name: Test ARA with the latest version of Ansible
  hosts: all
  gather_facts: yes
  roles:
    - ara_tests

What the role ends up doing by default:

  • Creates a directory to contain the files for the duration of the tests
  • Installs ARA from source and the latest version of Ansible in a virtualenv
  • Runs test playbooks designed to exercise different features of ARA

Copyright

Copyright (c) 2019 Red Hat, Inc.

ARA Records Ansible is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

ARA Records Ansible is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with ARA Records Ansible. If not, see <http://www.gnu.org/licenses/>.