diff options
author | 2021-06-01 13:14:39 +0200 | |
---|---|---|
committer | 2021-06-29 10:44:39 +0200 | |
commit | 949291fc4ab874603e293bd1db49c5b3f4eeac69 (patch) | |
tree | 741f72e87043852ad5cad52657345b41551aaabb | |
parent | e7b3a9550a7781866d3b15bfa2dac8c7625581b9 (diff) |
[ANSIBLE] Add kube_prometheus playbook
Change-Id: I65a7560423554d375b825fe0de04e6dd558e9371
Issue-ID: INT-1926
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
-rwxr-xr-x | ansible/group_vars/infrastructure.yml | 1 | ||||
-rw-r--r-- | ansible/kube_prometheus.yml | 5 | ||||
-rw-r--r-- | ansible/site.yml | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/ansible/group_vars/infrastructure.yml b/ansible/group_vars/infrastructure.yml index b351697b..c8d9210a 100755 --- a/ansible/group_vars/infrastructure.yml +++ b/ansible/group_vars/infrastructure.yml @@ -27,3 +27,4 @@ nexus3_image: sonatype/nexus3:3.15.2 dns_server_image: andyshinn/dnsmasq:2.76 nginx_server_image: own_nginx:2.0.0 chartmuseum_server_image: chartmuseum/chartmuseum +kube_prometheus_stack_enabled: false diff --git a/ansible/kube_prometheus.yml b/ansible/kube_prometheus.yml new file mode 100644 index 00000000..89408bfb --- /dev/null +++ b/ansible/kube_prometheus.yml @@ -0,0 +1,5 @@ +--- +- name: Deploy kube-prometheus stack + hosts: infrastructure + roles: + - kube-prometheus-stack diff --git a/ansible/site.yml b/ansible/site.yml index 7e22c5b2..6f00a9a2 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -16,5 +16,7 @@ - import_playbook: resources.yml - import_playbook: infrastructure.yml - import_playbook: rke.yml +- import_playbook: kube_prometheus.yml + when: kube_prometheus_stack_enabled - import_playbook: application.yml |