-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter non-strings from the oc_adm_ca_server_cert hostnames parameter. #4197
Filter non-strings from the oc_adm_ca_server_cert hostnames parameter. #4197
Conversation
This allows the omit filter to be used in the hostnames parameter list which simplifies conditionally added hostnames.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Something to keep in mind for the future though. When removing data from a run like this we may want to a ansible.utils.display.Display().warning
to let the user know.
aos-ci-test |
aos-ci-test |
Flake like thing from yesterday:
|
@sdodson have you cleaned up stale vms lately? |
[merge] |
flake openshift/origin#13271 |
[merge] |
Evaluated for openshift ansible merge up to 75c752d |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_openshift_ansible/388/) (Base Commit: 7d506ff) |
This allows the omit filter to be used in the hostnames parameter list
which simplifies conditionally added hostnames.
Note: I've added the additional import to
src/ansible/oc_adm_ca_server_cert.py
rather than the global/base imports file so that the new import only affects theoc_adm_ca_server_cert
module.