Allow custom egress policies for special cases
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
9676a0148f
commit
c07c9415a0
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue