2019-04-09 14:35:41 +00:00
|
|
|
systemd_mounts:
|
|
|
|
diskstation_git:
|
2019-10-03 20:10:13 +00:00
|
|
|
share: diskstation.ducamps.win:/volume2/git
|
2019-04-09 14:35:41 +00:00
|
|
|
mount: /mnt/diskstation/git
|
|
|
|
type: nfs
|
|
|
|
options:
|
|
|
|
- " "
|
|
|
|
automount: true
|
2019-10-08 18:14:21 +00:00
|
|
|
diskstation_CardDav:
|
|
|
|
share: diskstation.ducamps.win:/volume2/CardDav
|
|
|
|
mount: /mnt/diskstation/CardDav
|
|
|
|
type: nfs
|
|
|
|
options:
|
|
|
|
- " "
|
|
|
|
automount: true
|
2019-04-09 14:35:41 +00:00
|
|
|
backup_disk:
|
2020-01-19 12:41:09 +00:00
|
|
|
share: /dev/sdb1
|
2019-04-09 14:35:41 +00:00
|
|
|
mount: /mnt/backup
|
2019-04-11 16:54:12 +00:00
|
|
|
type: ntfs-3g
|
2019-04-09 14:35:41 +00:00
|
|
|
options:
|
2020-03-08 09:07:06 +00:00
|
|
|
- "uid=1024
|
2019-04-09 14:35:41 +00:00
|
|
|
- guid=100
|
2020-03-08 09:07:06 +00:00
|
|
|
- vers=3.0"
|
2019-04-09 14:35:41 +00:00
|
|
|
automount: true
|
2019-10-03 20:10:13 +00:00
|
|
|
diskstation_home:
|
2020-03-08 09:07:06 +00:00
|
|
|
share: diskstation.ducamps.win:/volume2/homes/admin
|
2019-10-03 20:10:13 +00:00
|
|
|
mount: /mnt/diskstation/home
|
2020-03-08 09:07:06 +00:00
|
|
|
type: nfs
|
2019-10-03 20:10:13 +00:00
|
|
|
options:
|
2020-03-08 09:07:06 +00:00
|
|
|
- " "
|
2019-10-03 20:10:13 +00:00
|
|
|
automount: true
|
|
|
|
diskstation_photo:
|
2020-03-08 09:07:06 +00:00
|
|
|
share: diskstation.ducamps.win:/volume2/photo
|
2019-10-03 20:10:13 +00:00
|
|
|
mount: /mnt/diskstation/photo
|
2020-03-08 09:07:06 +00:00
|
|
|
type: nfs
|
2019-10-03 20:10:13 +00:00
|
|
|
options:
|
2020-03-08 09:07:06 +00:00
|
|
|
- " "
|
2019-10-03 20:10:13 +00:00
|
|
|
automount: true
|
2019-05-14 08:24:06 +00:00
|
|
|
diskstation_music:
|
2020-03-08 09:07:06 +00:00
|
|
|
share: diskstation.ducamps.win:/volume2/music
|
2019-05-14 08:24:06 +00:00
|
|
|
mount: /mnt/diskstation/music
|
2020-03-08 09:07:06 +00:00
|
|
|
type: nfs
|
2019-05-14 08:24:06 +00:00
|
|
|
options:
|
2020-03-08 09:07:06 +00:00
|
|
|
- " "
|
2020-02-15 11:02:41 +00:00
|
|
|
automount: true
|
|
|
|
diskstation_media:
|
2020-04-14 17:17:59 +00:00
|
|
|
share: diskstation.ducamps.win:/volume1/media
|
2020-02-15 11:02:41 +00:00
|
|
|
mount: /mnt/diskstation/media
|
2020-03-08 09:07:06 +00:00
|
|
|
type: nfs
|
2020-02-15 11:02:41 +00:00
|
|
|
options:
|
2020-03-08 09:07:06 +00:00
|
|
|
- " "
|
2019-05-14 08:24:06 +00:00
|
|
|
automount: true
|
2020-02-16 15:22:01 +00:00
|
|
|
diskstation_ebook:
|
2020-03-08 09:07:06 +00:00
|
|
|
share: diskstation.ducamps.win:/volume2/ebook
|
2020-02-16 15:22:01 +00:00
|
|
|
mount: /mnt/diskstation/ebook
|
2020-03-08 09:07:06 +00:00
|
|
|
type: nfs
|
2020-02-16 15:22:01 +00:00
|
|
|
options:
|
2020-03-08 09:07:06 +00:00
|
|
|
- " "
|
2020-02-16 15:22:01 +00:00
|
|
|
automount: true
|
2019-04-09 14:35:41 +00:00
|
|
|
systemd_mounts_enabled:
|
|
|
|
- diskstation_git
|
2019-05-14 08:24:06 +00:00
|
|
|
- diskstation_music
|
|
|
|
- backup_disk
|
2019-10-03 20:10:13 +00:00
|
|
|
- diskstation_photo
|
|
|
|
- diskstation_home
|
2019-10-08 18:14:21 +00:00
|
|
|
- diskstation_CardDav
|
2020-02-15 11:02:41 +00:00
|
|
|
- diskstation_media
|
2020-02-16 15:22:01 +00:00
|
|
|
- diskstation_ebook
|
2019-10-03 20:10:13 +00:00
|
|
|
|
2019-05-14 08:24:06 +00:00
|
|
|
|
|
|
|
credentials_files:
|
|
|
|
1:
|
|
|
|
type: smb
|
|
|
|
path: /etc/creds/.diskstation_credentials
|
|
|
|
username: admin
|
|
|
|
password: "{{ vault_default_password }}"
|
2019-04-10 18:25:29 +00:00
|
|
|
|
2019-11-24 13:46:38 +00:00
|
|
|
syncthing_address: "0.0.0.0:8384"
|
2019-04-11 16:54:12 +00:00
|
|
|
syncthing_gui_user: "{{user.name}}"
|
2019-04-14 09:46:12 +00:00
|
|
|
syncthing_gui_password: $2a$10$nJZ8YN/1mB84Cbi79BKka.6SFMAKF.CBwyCNJDA9qUgXdkcuBilx2
|
|
|
|
|
2020-07-04 13:10:01 +00:00
|
|
|
notification_mail: "{{inventory_hostname}}@{{ domain.name }}"
|
|
|
|
msmtp_mailhub: smtp.{{ domain.name }}
|
|
|
|
msmtp_auth_user: "{{ user.mail }}"
|
|
|
|
msmtp_auth_pass: "{{ vault_default_password }}"
|
2019-04-14 09:46:12 +00:00
|
|
|
|
|
|
|
rsynclocations:
|
|
|
|
- name: backup nas
|
|
|
|
location: /mnt/backup
|
|
|
|
readonly: "no"
|
|
|
|
|
|
|
|
rsynchostalloawed: 192.168.1.10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fail2ban_destmail: "{{ user.mail }}"
|
2020-07-14 10:55:46 +00:00
|
|
|
fail2ban_sendmail: "{{inventory_hostname}}@{{domain.name}}"
|
2019-04-14 09:46:12 +00:00
|
|
|
|
|
|
|
Gandi_API_KEYS: "{{ vault_gandi_API_Keys }}"
|
|
|
|
Gandi_Domain: "{{ domain.name }}"
|
2019-04-14 13:51:48 +00:00
|
|
|
Gandi_Record: www
|
|
|
|
|
2020-01-13 19:04:49 +00:00
|
|
|
certbot_force: false
|
2019-09-15 17:30:01 +00:00
|
|
|
certbot_auto_renew_user: root
|
|
|
|
certbot_create_if_missing: true
|
|
|
|
certbot_cert_name: "{{domain.name}}"
|
|
|
|
certbot_certs:
|
|
|
|
- email: "{{user.mail}}"
|
|
|
|
domains:
|
|
|
|
- www.{{domain.name}}
|
|
|
|
- git.{{domain.name}}
|
|
|
|
- supysonic.{{domain.name}}
|
|
|
|
- syno.{{domain.name}}
|
2019-10-06 18:19:51 +00:00
|
|
|
- file.{{domain.name}}
|
2020-01-29 20:58:09 +00:00
|
|
|
- hass.{{domain.name}}
|
2019-09-15 17:30:01 +00:00
|
|
|
|
2020-02-16 15:22:01 +00:00
|
|
|
nginx_upstreams:
|
|
|
|
- name: PHP-handler
|
|
|
|
servers:
|
|
|
|
- unix:/var/run/php-fpm/php-fpm.sock
|
2020-03-01 15:18:48 +00:00
|
|
|
nginx_extra_http_options: |
|
|
|
|
proxy_connect_timeout 600s;
|
|
|
|
proxy_send_timeout 600s;
|
|
|
|
proxy_read_timeout 600s;
|
|
|
|
fastcgi_send_timeout 600s;
|
|
|
|
fastcgi_read_timeout 600s;
|
2019-04-14 13:51:48 +00:00
|
|
|
nginx_vhosts:
|
|
|
|
- listen: "80"
|
2019-09-15 17:30:01 +00:00
|
|
|
server_name: "_"
|
|
|
|
filename: "redirect80.conf"
|
|
|
|
state: "present"
|
|
|
|
template: "{{ nginx_vhost_template }}"
|
|
|
|
extra_parameters: |
|
|
|
|
return 301 https://$host;
|
|
|
|
- listen: "443 ssl"
|
|
|
|
server_name: "www.{{domain.name}}"
|
2019-04-14 13:51:48 +00:00
|
|
|
root: "/usr/share/nginx/html/"
|
|
|
|
error_page: "404 /404/404.html"
|
|
|
|
filename: "default.conf"
|
|
|
|
state: "present"
|
|
|
|
template: "{{ nginx_vhost_template }}"
|
|
|
|
extra_parameters: |
|
2019-09-15 17:30:01 +00:00
|
|
|
include /etc/nginx/conf.d/{{domain.name}}.ssl;
|
2019-04-14 13:51:48 +00:00
|
|
|
error_page 500 502 503 504 /50x.html;
|
|
|
|
location = /50x.html {
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
}
|
2019-10-11 16:57:11 +00:00
|
|
|
location / {
|
|
|
|
rewrite ^/.well-known/carddav /radicale/$remote_user/carddav/ redirect;
|
|
|
|
rewrite ^/.well-known/caldav /radicale/$remote_user/caldav/ redirect;
|
|
|
|
|
2019-04-25 19:10:23 +00:00
|
|
|
index index.php index.html index.htm ;
|
|
|
|
default_type text/html;
|
2019-04-14 13:51:48 +00:00
|
|
|
|
2019-04-25 19:10:23 +00:00
|
|
|
}
|
2019-04-14 13:51:48 +00:00
|
|
|
location =/ {
|
|
|
|
rewrite ^ /starter;
|
|
|
|
}
|
2019-10-11 16:57:11 +00:00
|
|
|
location /radicale/
|
|
|
|
{
|
|
|
|
# The trailing / is important!
|
|
|
|
proxy_pass http://localhost:5232/; # The / is important!
|
|
|
|
proxy_set_header X-Script-Name /radicale;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_pass_header Authorization;
|
|
|
|
}
|
|
|
|
|
2019-04-14 13:51:48 +00:00
|
|
|
|
|
|
|
location ~ \.php$ {
|
|
|
|
# try_files $uri =404;
|
|
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
|
|
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
|
|
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
|
|
fastcgi_read_timeout 800;
|
|
|
|
fastcgi_index index.php;
|
|
|
|
include fastcgi_params;
|
|
|
|
}
|
2019-04-25 19:10:23 +00:00
|
|
|
include /etc/nginx/conf.d/*.default;
|
2019-09-15 17:30:01 +00:00
|
|
|
- listen: "443 ssl"
|
|
|
|
server_name: "git.{{domain.name}}"
|
|
|
|
filename: "gitea.conf"
|
|
|
|
state: "present"
|
|
|
|
template: "{{ nginx_vhost_template }}"
|
|
|
|
extra_parameters: |
|
|
|
|
include /etc/nginx/conf.d/{{domain.name}}.ssl;
|
|
|
|
location / {
|
2019-09-15 20:57:26 +00:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
|
|
|
proxy_set_header X-Forwarded-Server $host;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
2019-09-15 17:30:01 +00:00
|
|
|
proxy_pass http://localhost:3000;
|
|
|
|
}
|
|
|
|
|
|
|
|
- listen: "443 ssl"
|
|
|
|
server_name: "syno.{{domain.name}}"
|
|
|
|
filename: "syno.conf"
|
|
|
|
state: "present"
|
|
|
|
template: "{{ nginx_vhost_template }}"
|
|
|
|
extra_parameters: |
|
|
|
|
include /etc/nginx/conf.d/{{domain.name}}.ssl;
|
|
|
|
location / {
|
2019-09-15 20:57:26 +00:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
|
|
|
proxy_set_header X-Forwarded-Server $host;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
2019-09-15 17:30:01 +00:00
|
|
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
|
|
|
proxy_pass http://192.168.1.10:5000;
|
|
|
|
}
|
|
|
|
- listen: "443 ssl"
|
|
|
|
server_name: "supysonic.{{domain.name}}"
|
|
|
|
filename: "supysonic.conf"
|
|
|
|
state: "present"
|
|
|
|
template: "{{ nginx_vhost_template }}"
|
|
|
|
extra_parameters: |
|
|
|
|
include /etc/nginx/conf.d/{{domain.name}}.ssl;
|
|
|
|
location / {
|
2019-09-15 20:57:26 +00:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
|
|
|
proxy_set_header X-Forwarded-Server $host;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
2019-09-15 17:30:01 +00:00
|
|
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
|
|
|
proxy_pass http://localhost:8001;
|
|
|
|
}
|
2019-10-06 18:19:51 +00:00
|
|
|
- listen: "443 ssl"
|
|
|
|
server_name: "file.{{domain.name}}"
|
2020-02-16 15:22:01 +00:00
|
|
|
filename: "nextcloud.conf"
|
2019-10-06 18:19:51 +00:00
|
|
|
state: "present"
|
|
|
|
template: "{{ nginx_vhost_template }}"
|
|
|
|
extra_parameters: |
|
|
|
|
include /etc/nginx/conf.d/{{domain.name}}.ssl;
|
2020-02-16 15:22:01 +00:00
|
|
|
add_header X-Content-Type-Options nosniff;
|
|
|
|
add_header X-XSS-Protection "1; mode=block";
|
|
|
|
add_header X-Robots-Tag none;
|
|
|
|
add_header X-Download-Options noopen;
|
|
|
|
add_header X-Permitted-Cross-Domain-Policies none;
|
|
|
|
|
|
|
|
# Path to the root of your installation
|
|
|
|
root /usr/share/webapps/nextcloud/;
|
|
|
|
|
|
|
|
location = /robots.txt {
|
|
|
|
allow all;
|
|
|
|
log_not_found off;
|
|
|
|
access_log off;
|
|
|
|
}
|
|
|
|
|
|
|
|
# The following 2 rules are only needed for the user_webfinger app.
|
|
|
|
# Uncomment it if you're planning to use this app.
|
|
|
|
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
|
|
|
|
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
|
|
|
|
# last;
|
|
|
|
|
|
|
|
location = /.well-known/carddav {
|
|
|
|
return 301 $scheme://$host/remote.php/dav;
|
|
|
|
}
|
|
|
|
location = /.well-known/caldav {
|
|
|
|
return 301 $scheme://$host/remote.php/dav;
|
|
|
|
}
|
|
|
|
|
|
|
|
# set max upload size
|
|
|
|
client_max_body_size 512M;
|
|
|
|
fastcgi_buffers 64 4K;
|
|
|
|
|
|
|
|
# Enable gzip but do not remove ETag headers
|
|
|
|
gzip on;
|
|
|
|
gzip_vary on;
|
|
|
|
gzip_comp_level 4;
|
|
|
|
gzip_min_length 256;
|
|
|
|
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
|
|
|
|
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
|
|
|
|
|
|
|
|
# Uncomment if your server is build with the ngx_pagespeed module
|
|
|
|
# This module is currently not supported.
|
|
|
|
#pagespeed off;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
rewrite ^ /index.php$request_uri;
|
|
|
|
}
|
|
|
|
|
|
|
|
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
|
|
|
|
deny all;
|
|
|
|
}
|
|
|
|
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
|
|
|
|
deny all;
|
|
|
|
}
|
|
|
|
|
|
|
|
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) {
|
|
|
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
|
|
|
include fastcgi_params;
|
|
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
|
|
#fastcgi_param HTTPS on;
|
|
|
|
#Avoid sending the security headers twice
|
|
|
|
fastcgi_param modHeadersAvailable true;
|
|
|
|
fastcgi_param front_controller_active true;
|
|
|
|
fastcgi_pass php-handler;
|
|
|
|
fastcgi_intercept_errors on;
|
|
|
|
fastcgi_request_buffering off;
|
|
|
|
}
|
|
|
|
|
|
|
|
location ~ ^/(?:updater|ocs-provider)(?:$|/) {
|
|
|
|
try_files $uri/ =404;
|
|
|
|
index index.php;
|
|
|
|
}
|
|
|
|
|
|
|
|
# Adding the cache control header for js and css files
|
|
|
|
# Make sure it is BELOW the PHP block
|
|
|
|
location ~ \.(?:css|js|woff|svg|gif)$ {
|
|
|
|
try_files $uri /index.php$request_uri;
|
|
|
|
add_header Cache-Control "public, max-age=15778463";
|
|
|
|
# Add headers to serve security related headers (It is intended to
|
|
|
|
# have those duplicated to the ones above)
|
|
|
|
# Before enabling Strict-Transport-Security headers please read into
|
|
|
|
# this topic first.
|
|
|
|
# add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";
|
|
|
|
#
|
|
|
|
# WARNING: Only add the preload option once you read about
|
|
|
|
# the consequences in https://hstspreload.org/. This option
|
|
|
|
# will add the domain to a hardcoded list that is shipped
|
|
|
|
# in all major browsers and getting removed from this list
|
|
|
|
# could take several months.
|
|
|
|
add_header X-Content-Type-Options nosniff;
|
|
|
|
add_header X-XSS-Protection "1; mode=block";
|
|
|
|
add_header X-Robots-Tag none;
|
|
|
|
add_header X-Download-Options noopen;
|
|
|
|
add_header X-Permitted-Cross-Domain-Policies none;
|
|
|
|
# Optional: Don't log access to assets
|
|
|
|
access_log off;
|
|
|
|
}
|
|
|
|
|
|
|
|
location ~ \.(?:png|html|ttf|ico|jpg|jpeg)$ {
|
|
|
|
try_files $uri /index.php$request_uri;
|
|
|
|
# Optional: Don't log access to other assets
|
|
|
|
access_log off;
|
2019-10-06 18:19:51 +00:00
|
|
|
}
|
2020-01-29 20:58:09 +00:00
|
|
|
- listen: "443 ssl"
|
|
|
|
server_name: "hass.{{domain.name}}"
|
|
|
|
filename: "hass.conf"
|
|
|
|
state: "present"
|
|
|
|
template: "{{ nginx_vhost_template }}"
|
|
|
|
extra_parameters: |
|
|
|
|
include /etc/nginx/conf.d/{{domain.name}}.ssl;
|
|
|
|
location / {
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
|
|
|
proxy_set_header X-Forwarded-Server $host;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
|
|
|
proxy_pass http://localhost:8123;
|
|
|
|
}
|
2020-02-02 11:45:38 +00:00
|
|
|
location /api/websocket {
|
|
|
|
proxy_pass http://localhost:8123/api/websocket;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
}
|
2019-04-14 13:51:48 +00:00
|
|
|
|
2020-01-29 20:58:09 +00:00
|
|
|
nginx_realIP_Proxy: 192.168.1.40/24
|
2020-02-16 15:22:01 +00:00
|
|
|
PHP_ReadWritePaths:
|
|
|
|
- /usr/share/webapps/nextcloud/apps
|
|
|
|
- /etc/webapps/nextcloud/config
|
|
|
|
- /var/nextcloud
|
|
|
|
- /mnt/diskstation
|
|
|
|
php_memory_limit: 512M #need for nextcloud be carefull on low memory device
|
2019-04-14 14:49:30 +00:00
|
|
|
php_extention_enable:
|
|
|
|
- iconv
|
|
|
|
- mysqli
|
|
|
|
- pdo_mysql
|
2019-04-15 11:38:47 +00:00
|
|
|
- soap
|
2019-08-15 13:36:58 +00:00
|
|
|
- intl
|
2020-02-16 15:22:01 +00:00
|
|
|
- gd #need for nextcloud
|
2020-04-14 18:34:50 +00:00
|
|
|
- imagick #need for nextcloud
|
|
|
|
- opcache #need for nextcloud
|
2019-04-15 11:38:47 +00:00
|
|
|
|
2019-04-16 17:54:24 +00:00
|
|
|
mysql_root_password: "{{ vault_mysql_root }}"
|
|
|
|
mysql_root_password_update: true
|
2019-04-23 16:34:18 +00:00
|
|
|
|
2019-04-16 15:54:22 +00:00
|
|
|
|
2019-04-17 11:37:19 +00:00
|
|
|
# Users.
|
|
|
|
mysql_users:
|
|
|
|
- name: dump
|
|
|
|
host: localhost
|
|
|
|
password: "{{ vault_mysql_dump }}"
|
2019-04-19 17:58:52 +00:00
|
|
|
priv: "*.*:SELECT,SHOW DATABASES,LOCK TABLES"
|
2019-04-17 11:37:19 +00:00
|
|
|
|
|
|
|
ttrss_db_password: "{{ vault_mysql_ttrss }}"
|
|
|
|
ttrss_log_destination: ""
|
2019-04-23 16:34:18 +00:00
|
|
|
ttrss_SQl_target_file: /mnt/diskstation/git/backup/mysql/last/ttrss.sql
|
2020-01-13 19:04:49 +00:00
|
|
|
ttrss_url_path: "https://www.{{domain.name}}/tt-rss"
|
2019-04-16 15:54:22 +00:00
|
|
|
|
|
|
|
bind_listen_ipv4: ['any']
|
|
|
|
bind_allow_query: ['any']
|
|
|
|
bind_zone_master_server_ip: 192.168.1.10
|
|
|
|
bind_zone_domains:
|
|
|
|
- name: ducamps.win
|
|
|
|
hostmaster_email: "vincent@ducamps.win"
|
|
|
|
- name: 1.168.192.in-addr.arpa
|
|
|
|
hostmaster_email: "vincent@ducamps.win"
|
|
|
|
bind_forwarders:
|
|
|
|
- '1.1.1.1'
|
|
|
|
- '80.67.169.40'
|
|
|
|
bind_recursion: true
|
|
|
|
bind_allow_recursion:
|
2019-04-17 11:37:19 +00:00
|
|
|
- "192.168.1.0/24"
|
2019-04-17 19:07:25 +00:00
|
|
|
|
|
|
|
gitea_http_listen: 0.0.0.0
|
|
|
|
gitea_db_type: mysql
|
|
|
|
gitea_db_host: localhost:3306
|
|
|
|
gitea_db_name: gitea
|
|
|
|
gitea_db_user: gitea
|
|
|
|
gitea_db_password: "{{ vault_mysql_gitea }}"
|
2020-01-19 12:41:09 +00:00
|
|
|
gitea_ssh_domain: git.{{ domain.name }}
|
2019-04-17 19:07:25 +00:00
|
|
|
gitea_start_ssh: false
|
2019-04-23 16:34:18 +00:00
|
|
|
gitea_ssh_port: 22
|
2019-05-13 17:00:10 +00:00
|
|
|
gitea_SQl_target_file: /mnt/diskstation/git/backup/mysql/last/gitea.sql
|
2020-01-13 19:04:49 +00:00
|
|
|
gitea_http_domain: git.{{domain.name}}
|
|
|
|
gitea_root_url: https://git.{{domain.name}}
|
2019-05-13 17:00:10 +00:00
|
|
|
|
2019-10-06 15:31:59 +00:00
|
|
|
supysonic_db_password: "{{ vault_mysql_supysonic }}"
|
2020-01-13 19:04:49 +00:00
|
|
|
supysonic_SQl_target_file: /mnt/diskstation/git/backup/mysql/last/supysonic.sql
|
2019-11-17 16:12:24 +00:00
|
|
|
supysonic_force_site_update: true
|
2020-01-29 20:58:09 +00:00
|
|
|
|
2020-01-13 19:04:49 +00:00
|
|
|
docker_users: "{{user.name}}"
|
|
|
|
|
2020-01-29 20:58:09 +00:00
|
|
|
hass_SQl_target_file: /mnt/diskstation/git/backup/mysql/last/hass.sql
|
|
|
|
hass_db_password: "{{ vault_mysql_hass }}"
|
2020-02-16 15:22:01 +00:00
|
|
|
hass_repo: "gitea@git.{{ domain.name }}:vincent/HASS_conf.git"
|
2020-03-01 15:18:48 +00:00
|
|
|
hass_users: "{{user.name}}"
|
2020-01-13 19:04:49 +00:00
|
|
|
|
2020-02-16 15:22:01 +00:00
|
|
|
nextcloud_db_password: "{{ vault_mysql_nextcloud }}"
|
|
|
|
nextcloud_admin_password: "{{ vault_default_password }}"
|
|
|
|
nextcloud_admin_user: "{{user.name}}"
|
|
|
|
nextcloud_trusted_domains:
|
|
|
|
- localhost
|
|
|
|
- file.ducamps.win
|
|
|
|
nextcloud_config_options: # additional options to set in config.php
|
|
|
|
- option: overwrite.cli.url
|
|
|
|
value: "'https://file.ducamps.win'"
|
|
|
|
- option: maintenance
|
|
|
|
value: "false"
|
|
|
|
- option: loglevel
|
|
|
|
value: "2"
|
|
|
|
|
2020-02-07 18:30:02 +00:00
|
|
|
samba_shares:
|
|
|
|
- name: hassconfig
|
|
|
|
path: /var/lib/hass
|
|
|
|
read_only: no
|
|
|
|
writable: yes
|
|
|
|
directory_mode: 770
|
|
|
|
owner: hass
|
|
|
|
group: hass
|
|
|
|
|
|
|
|
write_list: "{{user.name}}"
|
|
|
|
samba_users:
|
|
|
|
- name: "{{user.name}}"
|
2020-03-01 20:06:02 +00:00
|
|
|
password: "{{ vault_default_password }}"
|
|
|
|
|
|
|
|
keystodeploy:
|
|
|
|
- name: juicessh with password
|
|
|
|
sshkey: ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBAGEZxSjFEw/CwouzhEaaOOSCKms1hc1a0yf8tsxOfnyaazzmThIeYMJDlMf8lXdZzPDZd6wqZC/qb+H2zppIcvU0PJZYrwiPcr8u3ul24YGZ4dV79wC2DmqDY0YuN51jQ== juicewithpassword
|
|
|
|
- name: fixe-pc new
|
2020-06-14 18:14:57 +00:00
|
|
|
sshkey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDBrP9akjyailPU9tUMvKrtDsqjI191W1L95u3OFjBqqapXgbDVx1FVtSlIIKcCHZyTII1zgC7woZmNRpmaIJRh6N+VIuRrRs29xx2GUVc4pxflUwwIAK36hgZS3nqmA2biacmPR9HogZLZMcPtZdLhWGlLuUv1cWqbqW7UcDa0lbubCo2v4OQMx/zt37voKAZSkkbH9mVszH6eKxNFy1KXbLYhwXiKfYBnAHbivhiSkZUGV6D4HNj8Jx6IY1YF3bfwMXmt841Q/7OY+t3RTIS8ewvSF+jpQ7GKHBEsZTZUGwIoSyZFFvCgKQVOJu/ZJJS4HNkluilir9Sxtx2LRgy+HHQ251trnsVsJp3ts4uTiMkKJQy1PXy1ZvQXYkip9Af3vlXUMmTyVj8cv+No07G1rZ1pZ3wXKX4RkTsoep5GsYlhyUd7GzsAQQiX9YhYyWDQ6NHBYAGAWbw2BLNxltWa4AyWOa1C8v+1+mRwdvpdMY7powJNCXQaIJmiOZiI/Us= vincent@fixe-pc-2020-03-01
|
|
|
|
- name: zen-pc
|
|
|
|
sshkey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCYHkEIa38p3e4+m/LScHm8Ei7H2X/pDksjVAzoJ4fHr8oXc6DKkC8SWwMnh3L4WzWBhfTbzwUgFTNpsxhp/UyJf+fdzmzetlbVlYSuA6yWuSmgMeFbXFImhZ+Sn3i59hLeqAAyrkQLjba2waehdEsuOQ/AGoDbMYm38Xf9Wka/1YIeUPE4gLeLvymRnGw7BSug6Unycy52WlFAquollObOvc7tNiX0uLDh81Dp0KZhqWRs75hfmQ9du4g4uNhFLiF11hOGNgj3PWV+nWe8GWNQYVUBChWX1dsP8ct/ahG9IFXSPEaFD1IZeFp29u2ln3mgKkBtcRTRe1e3CLQqiRsUq2aixVFbSgFMFgGSUiNGNqKR4f9DeyJrYBplSj6HXjWoBny4Wm8+yfk8qR2RtQpS6AUu81xtKnXOaj9Q5VZO3kVF0U3EXHAZutTYDj9mDlhLSBS7x7hmrkRBbIy7adSx9Gx5Ck3/RllqG6KD+LdJa4I0pUTRNetpLpYDeZpwjnDP1r7udaSQMyRMH5YKLzhtHqIV/imn9QO4KCxNxTgwxt9ho6HDvlDGERCxm+yeHUu3CPyq2ZGSF5HHsYTGUtYvQw4JfQyw/5DrZ7IIdU1e7ZuaE3h/NvFgKJPVTP52nmUtIW7pIOkHpn9mddjm/oKMayOzMspLn9HLFVbqi7A5Xw== vincent@zen-pc
|
2020-07-05 10:11:55 +00:00
|
|
|
|
2020-07-05 10:12:10 +00:00
|
|
|
pihole_admin_password: "{{ vault_default_password }}"
|
2020-07-05 10:11:55 +00:00
|
|
|
pihole_local_resolver: 192.168.1.10
|
|
|
|
pihole_local_domain: "{{ domain.name }}"
|