Closed bvkin closed 4 years ago
+1 to both things that @oybed said, also i created #127 to change that variable name from filter_tags
to include_tags
:smile:
Also, please fix the error found by the CI job:
--> Executing Yamllint on files found in /home/travis/build/redhat-cop/openshift-applier/...
/home/travis/build/redhat-cop/openshift-applier/roles/openshift-applier/tasks/error-on-unsupported.yml
26:39 error no new line character at the end of file (new-line-at-end-of-file)
@oybed where are we with this?
@etsauer I'll sync with @bvkin to check status and get it done
@oybed @etsauer I think it's done, but could probably use another review as I made a lot of changes to handle overlapping include_tags
and exclude_tags
.
Yes, let's do a (final) review today when we get a chance to sync. Noticed a few things that still need some work, but we should be able to get it done quickly.
CI passed - merging.
What does this PR do?
Adds the skip_tags option to be used in the same manner as filter_tags.
How should this be tested?
Specify the skip_tags variable when running openshift_applier against an inventory which has tags set, verify that no objects with the given tag were applied. You can also verify that the filter_tags option still works along with neither option.
Is there a relevant Issue open for this?
resolves #118
Who would you like to review this?
cc: @redhat-cop/openshift-applier