forked from morbidick/ansible-role-semaphore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample-playbook.yml
44 lines (38 loc) · 1.25 KB
/
sample-playbook.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
---
- name: Install ansible semaphore
hosts: semaphore.DOMAIN.TLD
roles:
- { role: selfhostx.ansible.baserole, tags: baserole }
- geerlingguy.git
- geerlingguy.pip
- { role: selfhostx.certbot }
- { role: selfhostx.ansible.nginx_common, tags: nginx_common }
- geerlingguy.mysql
- stefanux.mysqlbackup
- { role: stefanux.semaphore, tags: semaphore }
vars_files:
- my-vault.yml
vars:
semaphore_hostname: "semaphore.DOMAIN.TLD"
# letsencrypt:
certbot_create_method: nginx
certbot_certs:
- domains:
- "{{ semaphore_hostname }}"
certbot_auto_renew_minute: 17
certbot_auto_renew_hour: 3
certbot_admin_email: "mail@DOMAIN.TLD"
certbot_create_if_missing: true
certbot_install_from_source: false
# semaphore vars:
# semaphore_version:
# semaphore_download_checksum
semaphore_default_user: admin
semaphore_default_user_make_admin: true
semaphore_default_user_name: "John Doe"
# semaphore_default_user_password: "-> vault"
semaphore_default_user_mail: "mail@DOMAIN.TLD"
# semaphore_mysql_password: "-> vault"
semaphore_mysql_install: false
semaphore_nginx_remove_default_config: true
semaphore_nginx_use_nginx_common_snippet: true