make egresspolicy customization less simple
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
c07c9415a0
commit
6bf7c579c2
2 changed files with 3 additions and 4 deletions
|
@ -1,3 +1,5 @@
|
||||||
---
|
---
|
||||||
allow_fas_db: false
|
allow_fas_db: false
|
||||||
allow_phx2: true
|
allow_phx2: true
|
||||||
|
|
||||||
|
egress_policy_template: egresspolicy.yml
|
||||||
|
|
|
@ -62,10 +62,7 @@
|
||||||
include_role:
|
include_role:
|
||||||
name: openshift/object
|
name: openshift/object
|
||||||
vars:
|
vars:
|
||||||
objectname: {{ item }}
|
objectname: "{{ egress_policy_template }}"
|
||||||
template_fullpath: "{{roles_path}}/openshift/project/templates/egresspolicy.yml"
|
template_fullpath: "{{roles_path}}/openshift/project/templates/egresspolicy.yml"
|
||||||
with_first_found:
|
|
||||||
- "egresspolicy_{{egress_policy_custom}}.yml"
|
|
||||||
- egresspolicy.yml
|
|
||||||
tags:
|
tags:
|
||||||
- openshift/egressnetworkpolicy
|
- openshift/egressnetworkpolicy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue