Add traefik 2.1
This commit is contained in:
parent
28b8910ad4
commit
a804841f87
27 changed files with 709 additions and 11 deletions
|
|
@ -46,7 +46,7 @@
|
|||
tags: traefik
|
||||
|
||||
- name: Get Deployment information object
|
||||
k8s_facts:
|
||||
k8s_info:
|
||||
context: "{{ my_context }}"
|
||||
api_version: v1
|
||||
kind: Deployment
|
||||
|
|
@ -63,4 +63,9 @@
|
|||
- name: install / uninstall version 2.0
|
||||
include_tasks: "version_2.0.yml"
|
||||
when:
|
||||
- traefik_version | regex_search('(2.)') or traefik_actual_version.stdout | regex_search('(2.)')
|
||||
- traefik_version | regex_search('(^2.0)')
|
||||
|
||||
- name: install / uninstall version 2.1
|
||||
include_tasks: "version_2.1.yml"
|
||||
when:
|
||||
- traefik_version | regex_search('(^2.1)') or traefik_actual_version.stdout | regex_search('(^2.)')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue