Fix lint errors
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
69706cd20e
commit
e10bb28442
3 changed files with 73 additions and 73 deletions
|
|
@ -2,9 +2,9 @@
|
||||||
- name: Weave Net setup
|
- name: Weave Net setup
|
||||||
block:
|
block:
|
||||||
- name: Include Weave Net vars
|
- name: Include Weave Net vars
|
||||||
include_vars: net-files.yaml
|
ansible.builtin.include_vars: net-files.yaml
|
||||||
- name: Weave Net files
|
- name: Weave Net files
|
||||||
k8s:
|
kubernetes.core.k8s:
|
||||||
state: present
|
state: present
|
||||||
context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
merge_type: merge
|
merge_type: merge
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ weave_net_files }}"
|
- "{{ weave_net_files }}"
|
||||||
- name: Weave Net password
|
- name: Weave Net password
|
||||||
k8s:
|
kubernetes.core.k8s:
|
||||||
state: present
|
state: present
|
||||||
context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
merge_type: merge
|
merge_type: merge
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
- name: Weave Scope setup
|
- name: Weave Scope setup
|
||||||
block:
|
block:
|
||||||
- name: namespace
|
- name: namespace
|
||||||
k8s:
|
kubernetes.core.k8s:
|
||||||
context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
state: present
|
state: present
|
||||||
name: weave
|
name: weave
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
|
|
||||||
- name: Create a Secret object for basic authentification (traefik 1.7)
|
- name: Create a Secret object for basic authentification (traefik 1.7)
|
||||||
k8s:
|
kubernetes.core.k8s:
|
||||||
state: present
|
state: present
|
||||||
context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
definition:
|
definition:
|
||||||
|
|
@ -54,7 +54,7 @@
|
||||||
- traefik_version is not defined or traefik_version | regex_search('(^1.)')
|
- traefik_version is not defined or traefik_version | regex_search('(^1.)')
|
||||||
|
|
||||||
- name: Remove a Secret object for basic authentification (traefik 1.7)
|
- name: Remove a Secret object for basic authentification (traefik 1.7)
|
||||||
k8s:
|
kubernetes.core.k8s:
|
||||||
state: absent
|
state: absent
|
||||||
context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
definition:
|
definition:
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
- traefik_version | regex_search('(^2.)')
|
- traefik_version | regex_search('(^2.)')
|
||||||
|
|
||||||
- name: Remove old existing Ingress object
|
- name: Remove old existing Ingress object
|
||||||
k8s:
|
kubernetes.core.k8s:
|
||||||
context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
state: absent
|
state: absent
|
||||||
api_version: extensions/v1beta1
|
api_version: extensions/v1beta1
|
||||||
|
|
@ -84,7 +84,7 @@
|
||||||
|
|
||||||
# file found https://github.com/weaveworks/scope/tree/master/examples/k8s/
|
# file found https://github.com/weaveworks/scope/tree/master/examples/k8s/
|
||||||
- name: Weave Scope files
|
- name: Weave Scope files
|
||||||
k8s:
|
kubernetes.core.k8s:
|
||||||
state: "present"
|
state: "present"
|
||||||
context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
namespace: 'weave'
|
namespace: 'weave'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue