diff --git a/monitor_host.yml b/monitor_host.yml new file mode 100644 index 0000000000000000000000000000000000000000..94db044ac3219e481b04d5ce1a29802dbeb52c93 --- /dev/null +++ b/monitor_host.yml @@ -0,0 +1,29 @@ +--- +- hosts: testservers + become: true + become_user: root + remote_user: root + roles: + - cloudalchemy.prometheus + - cloudalchemy.node-exporter + - cloudalchemy.grafana + vars: + prometheus_targets: + node: + - targets: + - localhost:9100 + grafana_datasources: + - name: prometheus + type: prometheus + access: proxy + url: 'http://localhost:9090' + isDefault: true + basicAuth: false + grafana_security: + admin_user: admin + admin_password: 'changeme' + # todo: make LDAP + grafana_auth: + anonymous: + org_name: 'UCC' + org_role: Admin