
Ideally Ansible should allow (from a playbook) to run only part of a role thanks to its tags (like the --skip-tags or --tags from the cli). But it's not possible now. This code is a PoC code for introducing a kind of filtering, which basically skips tasks containing the word "config". If you are building lxc images ("artifacts") of a role, you probably don't want to run all the tasks in the role, and don't want to run the handler tasks (because they start software for example). This also addresses it. To use this work, just include strategy: artifacting in your play. Change-Id: I006bc640c6563c959ceb835ddf5bef8d25dd7517
Description
Languages
Python
100%