More reliable test
This commit is contained in:
parent
02d548d869
commit
67c2ec8108
1 changed files with 3 additions and 3 deletions
|
|
@ -26,7 +26,7 @@
|
|||
basic_auth: "{{ basic_auth_data | b64encode }}"
|
||||
when:
|
||||
- basic_auth == true
|
||||
- traefik_version is not defined or traefik_version | regex_search('(1.)')
|
||||
- traefik_version is not defined or traefik_version | regex_search('(^1.)')
|
||||
tags: weave
|
||||
|
||||
- name: Remove a Secret object for basic authentification (traefik 1.7)
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
basic_auth: "{{ basic_auth_data | b64encode }}"
|
||||
when:
|
||||
- traefik_version is defined
|
||||
- traefik_version | regex_search('(2.)')
|
||||
- traefik_version | regex_search('(^2.)')
|
||||
tags: weave
|
||||
|
||||
- name: Remove old existing Ingress object
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
name: weave
|
||||
when:
|
||||
- traefik_version is defined
|
||||
- traefik_version | regex_search('(2.)')
|
||||
- traefik_version | regex_search('(^2.)')
|
||||
|
||||
# file found https://github.com/weaveworks/scope/tree/master/examples/k8s/
|
||||
- name: Weave Scope files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue