Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
867d42ba
Verified
Commit
867d42ba
authored
May 14, 2021
by
Jelle van der Waa
🚧
Browse files
Add vault_prometheus for the prometheus mirror
parent
685fdbdc
Pipeline
#7301
passed with stage
in 31 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
group_vars/all/vault_prometheus.yml
0 → 100644
View file @
867d42ba
$ANSIBLE_VAULT;1.1;AES256
64353665663138643230363535333331343335646139346637333532323235643932643630313563
3630393339386665613962633065373837613432396438360a376236343439323266316232333931
65626539613130373032666539386433633731373330646431666535643235396363323563646666
6234623837653030310a663438383933306239346130616666646236383061316638636230623032
64663638323936376437333038646364333833666463623534333234373863633235633066613530
64363961376539353833323039353565363565623064376130363839633735663437633033646362
32336633353235623732343831343530363464306633626139356561643239313661363265656134
31333334343263393366323639396538656237626266383335643964626234613363356537323736
3565
host_vars/dashboards.archlinux.org
View file @
867d42ba
---
filesystem: btrfs
ipv4_address: 157.90.255.107
prometheus_domain: dashboards.archlinux.org
roles/prometheus/tasks/main.yml
View file @
867d42ba
---
-
name
:
install prometheus server
pacman
:
name=prometheus state=present
pacman
:
name=prometheus
,python-passlib,python-bcrypt
state=present
-
name
:
install cert renewal hook
template
:
src=letsencrypt.hook.d.j2 dest=/etc/letsencrypt/renewal-hooks/deploy/prometheus owner=root group=root mode=0755
...
...
roles/prometheus/templates/web-config.yml.j2
View file @
867d42ba
...
...
@@ -5,4 +5,4 @@ tls_server_config:
# Usernames and passwords required to connect to Prometheus.
# Passwords are hashed with bcrypt: https://github.com/prometheus/exporter-toolkit/blob/46630604b0f1c5d64fbd3eb3010d91af38dc798b/docs/web-configuration.md#about-bcrypt
basic_auth_users:
{{ vault_prometheus_user }}: {{ vault_prometheus_passwd
_hashed
}}
{{ vault_prometheus_user }}: {{ vault_prometheus_passwd
| password_hash('bcrypt')
}}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment