tripleo-ansible/releasenotes/notes/add-ansible-args-to-test-commands-e6b14d561af5de7d.yaml
Kevin Carter 7d365401c6
Extend pytest so it can accept ansible args
This change adds the ability add ansible arguments to any
molecule test.

Change-Id: I7159e89d7037b2c669208014d4f814de2eb6f1ad
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2019-07-05 11:54:04 -05:00

12 lines
397 B
YAML

---
features:
- |
A new argument has been added to the molecule test setup allowing
developers to run tests with Ansible command line arguments. This
feature is useful when testing roles that require augmentation,
like when tags are needed.
.. code-block:: console
pytest tests/test_molecule.py --scenario=${NEWROLENAME} --ansible-args='--tags xxx --skip-tags yyy'