Initial release

This commit is contained in:
Adrien Reslinger 2018-10-05 16:37:45 +02:00
commit 9427cb9e05
No known key found for this signature in database
GPG key ID: C50A5B63F3B2B639
12 changed files with 327 additions and 0 deletions

28
tasks/main.yml Normal file
View file

@ -0,0 +1,28 @@
- debug: var=my_context
tags: prom
- name: Weave setup
block:
- name: namespace
k8s:
state: present
name: weave
api_version: v1
kind: Namespace
- name: Weave Scope files
k8s:
state: present
context: "{{ my_context }}"
resource_definition: "{{ lookup('template', item) | from_yaml }}"
with_items:
- scope-clusterrolebinding.yaml.j2
- scope-clusterrole.yaml.j2
- scope-sa.yaml.j2
- scope-svc.yaml.j2
- scope-ds.yaml.j2
- scope.yaml.j2
- weave_ingress.yaml.j2
tags: weave