-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.yml
108 lines (75 loc) · 2.99 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
################## NOTE ##################
# All commented settings must be defined #
# in host_vars unless otherwise stated #
##########################################
############ Deployment config ###########
# Parent directory for container config paths
labbot_app_base_dir: /opt
# Prefix for all container names
labbot_container_name_prefix: labbot_
############ Bot config ##################
# Discord bot token for LabBot
# labbot_discord_token: ''
############ Monitoring/web config #######
# labbot_grafana_domain: ''
labbot_grafana_username: labbot_admin
# labbot_grafana_password: ''
labbot_grafana_container_user: "{{ ansible_user_uid }}"
labbot_prometheus_container_user: "{{ ansible_user_uid }}"
# List of dictionaries with keys `username`, `password`, and `password_bcrypt`
# labbot_prometheus_users: []
### EXAMPLE:
# labbot_prometheus_users:
# - username: admin
# password: '!CHANGE_ME!'
# # Hashed version of the password
# # Can be generated like so: htpasswd -nBC 10 '<password>' | tr -d ':\n'
# password_bcrypt: '<hash here>'
labbot_prometheus_scrape_interval: 10 # seconds
# Whether to bind the prometheus web UI port on the host
# Necessary only for testing/debugging
labbot_prometheus_open_port: false
# Whether to bind the cadvisor web UI port on the host
# Necessary only for testing/debugging
labbot_cadvisor_open_port: false
# Email address to register with LetsEncrypt
# labbot_certbot_letsencrypt_email: ''
# Certbot settings for Grafana SSL certificate
# Whether to run certbot in dry-run mode for testing/debugging.
labbot_certbot_dry_run: false
############ Backup config ###############
# Enable backup
labbot_enable_bot_backup: false
# NOTE: The backup variables below only need to be defined if labbot_enable_bot_backup is true
# Discord webhook URL for backup report
# labbot_backup_report_webhook: ''
# User ID to mention upon backup failure
# labbot_backup_report_mention_user_id: ''
# The backup script uses rclone to upload backups to a remote destination. You must define rclone remote(s) here.
# Backups will be uploaded to ALL defined remotes by default. See `labbot_rclone_backup_remotes` to change this.
# For more information, see https://github.com/stefangweichinger/ansible-rclone#rclone_configs-
# labbot_rclone_configs: []
### EXAMPLE:
# labbot_rclone_configs:
# - name: backups
# properties:
# type: webdav
# vendor: other
# url: https://webdav.example.com
# user: user
# pass: pa$$w0rd
labbot_rclone_config_location: /root/.config/rclone/labbot_backup_remotes.conf
# Backups will be uploaded to ALL defined remotes if this is unset or an empty list.
# If set, backups will only be uploaded to the specified remotes.
labbot_rclone_backup_remotes: []
### EXAMPLE:
# labbot_rclone_backup_remotes:
# - backups
############ Misc. config ################
# [OPTIONAL] SSH keys to install on the bot host
# EXAMPLE:
# labbot_ssh_keys:
# - key: <string or URL>
# comment: <optional comment>
labbot_ssh_keys: []