diff --git a/tasks/main.yml b/tasks/main.yml index 81f51b3..057e4c5 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -27,7 +27,7 @@ block: - name: namespace k8s: - context: "{{ my_context }}" + context: "{{ my_context }}" state: present name: weave api_version: v1 @@ -47,7 +47,7 @@ data: basic_auth: "{{ basic_auth_data | b64encode }}" when: - - basic_auth == true + - basic_auth|bool - traefik_version is not defined or traefik_version | regex_search('(^1.)') - name: Remove a Secret object for basic authentification (traefik 1.7)