This playbook aims to be an improved version of the sanity tests. It is initially targeted at the CAHC stream
The focus of this set of tests are things like:
- adding users
- adding data to
...and the interaction of these actions during upgrades and rollbacks.
In the future, the playbook can be expanded with similar small and focused tests.
Ansible version 2.2 (other versions are not supported)
Configure subscription data (if used)
If running against a RHEL Atomic Host, you should provide subscription data that can be used by
subscription-manager. See roles/redhat_subscription/tasks/main.yml for additional details.
Configure the required variables to your liking in tests/improved-sanity-tests/vars.yml.
Running the Playbook
To run the test, simply invoke as any other Ansible playbook:
$ ansible-playbook -i inventory tests/improved-sanity-test/main.yml
To run against a cloud image, run with the option:
To run against RHCOS, run with the option:
NOTE: You are responsible for providing a host to run the test against and the inventory file for that host.