-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtreola.yml
66 lines (59 loc) · 1.84 KB
/
treola.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
---
# TODO: make a full reinstall to make it work properly
# it needs the pre-task to create the user and disable the default one
- name: Install shared configuration
import_playbook: shared_install.yml
vars:
runnig_hosts: vps-treola
- hosts: vps-treola
become: true
remote_user: "{{ server_user.name }}"
vars:
nextcloud_dir: "/home/{{ server_user.name }}/Nextcloud/"
vars_files:
- ./secrets.yml
roles:
- role: chloegaster.fr
chloegaster:
certbot_email: "{{ certbot_email }}"
fqdn: chloegaster.fr
tags: chloegaster
- role: nextcloud_client
nextcloud_user: '{{ server_user.name }}'
nextcloud_group: '{{ server_user.group }}'
nextcloud_folder: ~/Nextcloud
nextcloud_excluded_directories_path: ~/.nextcloud_excluded_directories
nextcloud_excluded_directories:
- 'Images'
- 'Photos'
tags: nextcloud
- role: haelle.calibre_web_ansible
calibre_web:
name: alexandrie
port: 8086
fqdn: alexandrie.alxs.fr
db_symlink_path: '{{ nextcloud_dir }}Livres_numériques/calibre-web-configs/alexandrie-app.db'
certbot_email: "{{ certbot_email }}"
tags:
- alexandrie
- calibre
- role: haelle.calibre_web_ansible
calibre_web:
name: bazar
port: 8087
fqdn: bazar.alxs.fr
db_symlink_path: '{{ nextcloud_dir }}Livres_numériques/calibre-web-configs/bazar-app.db'
certbot_email: "{{ certbot_email }}"
tags:
- bazar
- calibre
- role: haelle.calibre_web_ansible
calibre_web:
name: comics
port: 8088
fqdn: comics.alxs.fr
db_symlink_path: '{{ nextcloud_dir }}Livres_numériques/calibre-web-configs/comics-app.db'
certbot_email: "{{ certbot_email }}"
tags:
- comics
- calibre