Allow custom egress policies for special cases

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-06-03 15:43:39 +02:00
parent 9676a0148f
commit c07c9415a0

View file

@ -62,7 +62,10 @@
include_role:
name: openshift/object
vars:
objectname: egresspolicy.yml
objectname: {{ item }}
template_fullpath: "{{roles_path}}/openshift/project/templates/egresspolicy.yml"
with_first_found:
- "egresspolicy_{{egress_policy_custom}}.yml"
- egresspolicy.yml
tags:
- openshift/egressnetworkpolicy