misc update
This commit is contained in:
parent
cbc60c61fe
commit
91c6eb3a04
@ -1,30 +1,31 @@
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
36393436653566306436363065303537636361316533303036323966316161343739666233333331
|
||||
6562383739343862386462613861666536646337303863320a646366663664643434333263343935
|
||||
35306233623866643530393863326532613063386662346530346133353439626636373666653065
|
||||
6561346437346663630a366463393762343862636539363863366662326439323732366663656162
|
||||
39306333396434343236323439636261636235373836356165313938306366613335343634653065
|
||||
66623162663334646332666537323032656562643961303665383531373565656665326533343266
|
||||
61383536353038393631643837316366383136346231333336663135323764613937653333333330
|
||||
65313331303366373239623561663932323266646236383739346235383938356665313461616131
|
||||
36336338303530323736313537303938356137383434323030336237656635376433653633323237
|
||||
32646162613731383166653930363835643162306362646335643233303461376235643933636634
|
||||
39353233643836396534663364316539386130386166663134633033643861356338336165363031
|
||||
33303534333763363437646433336665373362326530623730316664376230616333653139646336
|
||||
37666531336362373861376135366463323134643561346163643137613038663235636134356363
|
||||
37623037656630343739333734366361313634313832343732633564356161306134646664316134
|
||||
31373066306230323130613536356265396439313733376437316361393864393265666332633535
|
||||
34373861616565353762366663333833346334356535336365613632656461396566323363326537
|
||||
66613438663539313163306166323734366333306533346463633031376237326264613565613766
|
||||
65383537313461613664343961616432313037346531333261323331663131373034323935373566
|
||||
63363633633562653533326138633462633238353264323361386133316234666638383831663433
|
||||
61623635636432653031373036383664393630306332386563353632373430623530336166613163
|
||||
33346661353634396532353266303162326331393534336131316537366335643637613532393631
|
||||
34303130356431393163636363383233356235623666623165373730633436346162343137623438
|
||||
66373730653636356663366162363133303961613165343735326563636363306533386434646133
|
||||
65383063396166343066383332616132353732343765323964666634633533373530643230373939
|
||||
62366363356433336365343264393730653265633531326563303166393638383731313163373261
|
||||
37313531643337313333336432636438393932613363393831663163646333666536653166383739
|
||||
31633362636635336430336463643564626563333964313830643833396630363262666162356665
|
||||
38383433323661396331663763623563636137633034643065623032383466633535343937383965
|
||||
3965
|
||||
31363063633762613361346137656161323835326537633830333532316534346630383364313962
|
||||
6234313430383631306437323466393139303538626161630a623438323662343637313131633561
|
||||
31343532373764383738323334636238356266663863356135653931356564353132373238633035
|
||||
6164373637356664640a353134386332666134616465363635646533613439346230396130373630
|
||||
63356134646466623036383663383833656532373464376361333739306634613735626132313762
|
||||
31346637653665343966653962633861333133353065633530346235346630666539366464656339
|
||||
38666136353961353734626562666332633765393234316135353030386637653835313631343161
|
||||
64313766313061626263363061373332653136386130373037333666376664656639633637646533
|
||||
39386438656234663335373031343534383336336531623638313036623530346666326534646132
|
||||
36383430316131616463363964333732643431343962353435396238613537616332666238366136
|
||||
64363062326666333133353666353966353938376531343263663335613061643665363163303162
|
||||
38383436613262353739653036663637393639616336326238653831383134623135633738363337
|
||||
34326666323235343161316232393237366235353563613462663534633764386634623133313135
|
||||
32623366383130373030353763326362653231643165633937313234396365333038373362323361
|
||||
32653539636633643666386533333135636363633830393733353439623135653536373965326165
|
||||
38306263303964343632343862336365373132323561326264616364316331353563653538633239
|
||||
61623634616632626432303630303837363333613931313965633430393966616264386366366264
|
||||
65306564326236343531353631356235303138363037626331653865393836626666366437643764
|
||||
38353534653639316436616561346662333561663333623561393738633339386536326234636165
|
||||
31663461326538366430313831373233393431656564643332636464356465393931626461393063
|
||||
34333438653665323363373038633334323034393439616462336138616263323566303337623463
|
||||
33383664353733383139626633653531666335656566383233363066306565333438626336663066
|
||||
61386162613164613334353231646238336663353037383333653261373434346634393239646636
|
||||
65313534616462353631386538373462333863636231343863336436393038353835366331386163
|
||||
39623837623932393335333063303166643933336330656533373833653965373463643362333939
|
||||
39356661626362303830646433653264613833393034663132656431663334623339643330353166
|
||||
64316631313233633231656537376166363232643832313134633232643366353339666366316462
|
||||
30626134653031626665633761313338663565653561376364643261633534383164366339393431
|
||||
37616231396331313064646234383664616435383565373762366632383336376339336435383438
|
||||
3362613166313865333430633637343031353937633934303736
|
||||
|
@ -106,6 +106,7 @@ certbot_certs:
|
||||
- supysonic.{{domain.name}}
|
||||
- syno.{{domain.name}}
|
||||
- file.{{domain.name}}
|
||||
- hass.{{domain.name}}
|
||||
|
||||
|
||||
nginx_vhosts:
|
||||
@ -225,8 +226,24 @@ nginx_vhosts:
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
proxy_pass http://localhost:8000;
|
||||
}
|
||||
- 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;
|
||||
}
|
||||
|
||||
nginx_realIP_Proxy: 192.168.1.10/24
|
||||
nginx_realIP_Proxy: 192.168.1.40/24
|
||||
|
||||
php_extention_enable:
|
||||
- iconv
|
||||
@ -282,6 +299,11 @@ gitea_root_url: https://git.{{domain.name}}
|
||||
supysonic_db_password: "{{ vault_mysql_supysonic }}"
|
||||
supysonic_SQl_target_file: /mnt/diskstation/git/backup/mysql/last/supysonic.sql
|
||||
supysonic_force_site_update: true
|
||||
|
||||
docker_users: "{{user.name}}"
|
||||
|
||||
hass_SQl_target_file: /mnt/diskstation/git/backup/mysql/last/hass.sql
|
||||
hass_db_password: "{{ vault_mysql_hass }}"
|
||||
hass_repo: gitea@git.{{ domain.name }}:vincent/HASS_conf.git
|
||||
hass_user: "{{user.name}}"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
ttrss_url_path: http://arch3/tt-rss/
|
||||
ttrss_url_path: http://vmas-build/tt-rss/
|
||||
|
||||
gitea_http_domain: arch3
|
||||
gitea_root_url: http://arch3:3000
|
||||
gitea_http_domain: vmas-build
|
||||
gitea_root_url: http://vmas-build:3000
|
||||
|
||||
chainetv_repo_branch: dev
|
||||
|
||||
|
57
host_vars/VMAS-HML
Normal file
57
host_vars/VMAS-HML
Normal file
@ -0,0 +1,57 @@
|
||||
##ansible_python_interpreter: /usr/bin/python2
|
||||
##music_directory: '/mnt/diskstation/music'
|
||||
system_upgrade: true
|
||||
ttrss_url_path: http://vmas-hml/tt-rss/
|
||||
|
||||
system_upgrade: false
|
||||
|
||||
gitea_http_domain: vmas-hml
|
||||
gitea_root_url: http://vmas-hml:3000
|
||||
|
||||
chainetv_repo_branch: master
|
||||
|
||||
certbot_create_if_missing: false
|
||||
|
||||
nginx_vhosts:
|
||||
- listen: "80"
|
||||
server_name: "_"
|
||||
filename: "default.conf"
|
||||
state: "present"
|
||||
template: "{{ nginx_vhost_template }}"
|
||||
extra_parameters: |
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
location / {
|
||||
rewrite ^/.well-known/carddav /radicale/$remote_user/carddav/ redirect;
|
||||
rewrite ^/.well-known/caldav /radicale/$remote_user/caldav/ redirect;
|
||||
index index.php index.html index.htm ;
|
||||
default_type text/html;
|
||||
|
||||
|
||||
}
|
||||
location =/ {
|
||||
rewrite ^ /starter;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
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;
|
||||
}
|
||||
include /etc/nginx/conf.d/*.default;
|
||||
|
@ -1,57 +0,0 @@
|
||||
##ansible_python_interpreter: /usr/bin/python2
|
||||
##music_directory: '/mnt/diskstation/music'
|
||||
system_upgrade: true
|
||||
#ttrss_url_path: http://nas/tt-rss/
|
||||
#
|
||||
#system_upgrade: true
|
||||
#
|
||||
#gitea_http_domain: nas
|
||||
#gitea_root_url: http://nas:3000
|
||||
#
|
||||
#chainetv_repo_branch: master
|
||||
#
|
||||
#certbot_create_if_missing: false
|
||||
#
|
||||
#nginx_vhosts:
|
||||
# - listen: "80"
|
||||
# server_name: "_"
|
||||
# filename: "default.conf"
|
||||
# state: "present"
|
||||
# template: "{{ nginx_vhost_template }}"
|
||||
# extra_parameters: |
|
||||
# error_page 500 502 503 504 /50x.html;
|
||||
# location = /50x.html {
|
||||
# root /usr/share/nginx/html;
|
||||
# }
|
||||
# location / {
|
||||
# rewrite ^/.well-known/carddav /radicale/$remote_user/carddav/ redirect;
|
||||
# rewrite ^/.well-known/caldav /radicale/$remote_user/caldav/ redirect;
|
||||
# index index.php index.html index.htm ;
|
||||
# default_type text/html;
|
||||
#
|
||||
#
|
||||
# }
|
||||
# location =/ {
|
||||
# rewrite ^ /starter;
|
||||
# }
|
||||
# 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;
|
||||
# }
|
||||
#
|
||||
#
|
||||
# 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;
|
||||
# }
|
||||
# include /etc/nginx/conf.d/*.default;
|
||||
#
|
@ -24,6 +24,7 @@
|
||||
- tt-rss
|
||||
- gitea
|
||||
- supysonic
|
||||
- hass
|
||||
- chainetv
|
||||
- user_config
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user