tripleo-ansible/tests
Bogdan Dobrelya be9db4572e Control molecule tags with test molecule script
Make test_molecule.py script reading scenario test_vars.yml
and react based on existing test_tags, molecule_tags_enforce,
test_skip_tags, and molecule_skip_tags_enforce variables of it:
* (skip_)tags configured, not enforced - molecule ignores it, leaving
  it for the converge playbook control or not;
* (skip_)tags configured, and enforced - molecule applies it, even if
  the converge playbook controls it as well (likely making it wrong);

This is required because converge may not always control skipping tags.
For example, include_tasks can only apply tags, but not skip it.

Also, molecule tags, if included, might conflict with tags management
of converge playbooks. So provided enfore-or-not it options help to
tweak that behavior case by case.

Change-Id: I0e3193c5f64457e55209891105df990c01dd2657
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2022-08-31 13:27:08 +02:00
..
conftest.py Extend pytest so it can accept ansible args 2019-07-05 11:54:04 -05:00
hosts.ini Convert tox to native zuul 2019-07-06 02:31:06 +00:00
test_molecule.py Control molecule tags with test molecule script 2022-08-31 13:27:08 +02:00