<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 7, 2019 at 4:44 PM Cédric Jeanneret <<a href="mailto:cjeanner@redhat.com">cjeanner@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear all,<br>
<br>
We're currently working hard in order to provide a nice way to run<br>
validations within a deploy (aka in-flight validations).<br>
<br>
We can already call validations provided by the tripleo-validations<br>
package[1], it's working just fine.<br>
<br>
Now comes the question: "how can we disable the validations?". In order<br>
to do that, we propose to use a standard tag in the ansible<br>
roles/playbooks, and to add a "--skip-tags <tag>" when we disable the<br>
validations via the CLI or configuration.<br>
<br>
After a quick check in the tripleoclient code, there apparently is a tag<br>
named "validation", that can already be skipped from within the client.<br>
<br>
So, our questions:<br>
- would the reuse of "validation" be OK?<br>
- if not, what tag would be best in order to avoid confusion?<br>
<br>
We also have the idea to allow to disable validations per service. For<br>
this, we propose to introduce the following tag:<br>
- validation-<service>, like "validation-nova", "validation-neutron" and<br>
so on<br>
<br>
What do you think about those two additions?<br></blockquote></div><div><br></div><div>Such as variables, I think we should prefix all our variables and tags with tripleo_ or something, to differentiate them from any other playbooks our operators could run.</div><div>I would rather use "tripleo_validations" and "tripleo_validation_nova" maybe.</div><div><br></div><div>Wdyt?<br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Emilien Macchi<br></div></div></div>