Skip to content
This repository was archived by the owner on Jan 12, 2020. It is now read-only.

Commit d880efa

Browse files
committed
remove comments
1 parent 8acd685 commit d880efa

File tree

3 files changed

+2
-102
lines changed

3 files changed

+2
-102
lines changed

extras.yml

Lines changed: 2 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -6,78 +6,6 @@
66
- name: Install python
77
raw: "apt update && apt install -y python"
88

9-
#- name: Install docker
10-
# hosts: influxdb
11-
# roles:
12-
# - mongrelion.docker
13-
# tasks:
14-
# - name: Ensure cAdvisor is started
15-
# docker_container:
16-
# name: cadvisor
17-
# image: google/cadvisor:latest
18-
# restart_policy: always
19-
# memory: 256m
20-
# command: "--disable_metrics disk,tcp,udp --housekeeping_interval 5s"
21-
# labels:
22-
# namespace: management
23-
# ports:
24-
# - "8080:8080"
25-
# volumes:
26-
# - "/:/rootfs:ro"
27-
# - "/var/run:/var/run:rw"
28-
# - "/sys:/sys:ro"
29-
# - "/var/lib/docker:/var/lib/docker:ro"
30-
# - "/etc/localtime:/etc/localtime:ro"
31-
# log_driver: syslog
32-
# log_options:
33-
# syslog-facility: local0
34-
# tag: cadvisor
35-
# retries: 5
36-
# register: result
37-
# until: result is succeeded
38-
# vars:
39-
# docker_default_config: {}
40-
# docker_version: "latest"
41-
# docker_compose: false
42-
#
43-
#- name: Configure persistent data store
44-
# hosts: influxdb
45-
# tasks:
46-
# - name: Retain influxdb container
47-
# docker_container:
48-
# name: influx
49-
# state: absent
50-
# when: ansible_date_time.day == "01"
51-
# - name: Retain influxdb data
52-
# docker_volume:
53-
# name: influxdb
54-
# state: absent
55-
# when: ansible_date_time.day == "01"
56-
# - name: Ensure influxdb has a place to store data
57-
# docker_volume:
58-
# name: influxdb
59-
# state: present
60-
# - name: Start influxdb container
61-
# docker_container:
62-
# name: influx
63-
# image: influxdb:alpine
64-
# state: started
65-
# restart_policy: always
66-
# labels:
67-
# namespace: database
68-
# ports:
69-
# - "8086:8086"
70-
# volumes:
71-
# - "influxdb:/var/lib/influxdb"
72-
# env:
73-
# INFLUXDB_HTTP_AUTH_ENABLED: "true"
74-
# INFLUXDB_ADMIN_USER: "{{ influxdb_user }}"
75-
# INFLUXDB_ADMIN_PASSWORD: "{{ influxdb_password }}"
76-
# INFLUXDB_DB: "{{ influxdb_db }}"
77-
# retries: 5
78-
# register: result
79-
# until: result is succeeded
80-
819
- name: Setup HTTP server
8210
hosts: web
8311
roles:
@@ -100,8 +28,8 @@
10028
src: "img/{{ item }}"
10129
dest: "/var/www/demo/img/{{ item }}"
10230
with_items:
103-
- logo.png
104-
- digitalocean.png
31+
- logo.png
32+
- digitalocean.png
10533
vars:
10634
port_mapping:
10735
grafana: 3000

group_vars/all/vars

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,7 @@
11
---
2-
influxdb_host: "influx.cloudalchemy.org"
3-
influxdb_db: cloudalchemy
4-
influxdb_user: prometheus
5-
influxdb_password: "{{ vault_influxdb_password }}"
6-
72
prometheus_web_external_url: "http://{{ ansible_host }}:9090"
83
prometheus_storage_retention: "14d"
94

10-
# prometheus_remote_write:
11-
# - url: "http://{{ influxdb_host }}:8086/api/v1/prom/write?db={{ influxdb_db }}"
12-
# basic_auth:
13-
# username: "{{ influxdb_user }}"
14-
# password: "{{ influxdb_password }}"
15-
# write_relabel_configs:
16-
# - source_labels: ['__name__']
17-
# regex: 'node_load1'
18-
# action: keep
19-
#
20-
# prometheus_remote_read:
21-
# - url: "http://{{ influxdb_host }}:8086/api/v1/prom/read?db={{ influxdb_db }}"
22-
# basic_auth:
23-
# username: "{{ influxdb_user }}"
24-
# password: "{{ influxdb_password }}"
25-
# read_recent: false
26-
# required_matchers:
27-
# job: "node"
28-
295
prometheus_alertmanager_config:
306
- scheme: http
317
static_configs:

hosts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
demo ansible_host=demo.cloudalchemy.org ansible_user=root
2-
#influx ansible_host=influx.cloudalchemy.org ansible_user=root
32

43
[prometheus]
54
demo
@@ -9,6 +8,3 @@ demo
98

109
[web]
1110
demo
12-
13-
#[influxdb]
14-
#influx

0 commit comments

Comments
 (0)