This commit is contained in:
20
host_vars/ash-1.yml
Normal file
20
host_vars/ash-1.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
63396333353166316666616661613532383538393239303966633336363361613332343437376566
|
||||
3265326538643839326262386165623639353130656164320a323536333037353664646163386335
|
||||
33336631303336616636343538353865383531316561623166323762396262643930376231616638
|
||||
6638613961313364390a366564343030633665646666626165383334356364623761383032633963
|
||||
39393264353635626539393831323530366630343665623561653836303065633965316163386166
|
||||
63353836333639363765616164383133623330653762333762623632653535623438313831653365
|
||||
32393732306135323062666539663839656563306133393031643766626666323534626638653236
|
||||
63613832333833626439653034366336633534323131356262396138373938383039336263356531
|
||||
36323432653634366365663039336231343239626539393961636562366263653934613333633535
|
||||
61613937336336323135376663336364386533366537626133316130353862633862336530633339
|
||||
33663439663332653461643839353564333765646537363864653765303933393562383134316434
|
||||
38333134646362663837653461646661633539623734316635383163313363653730653763326262
|
||||
65326365383661306466663930646162343033383932633866383862626339366631633862346334
|
||||
36366161636663653136383439333461366264383533346461613631623730326437376537373638
|
||||
64323863333364613039613533393232373162346436613864336237336439353134313361653634
|
||||
64366663303265386663623139636131383432343238306631333436373939393832616262393232
|
||||
33376466613639396436396166363032653434653730643734356432653063303762333230323431
|
||||
34313338303838346466666463376636323433663038363935633362656164383762343531633563
|
||||
386432323237313039376531653362326337
|
||||
1
hosts
1
hosts
@@ -1,4 +1,5 @@
|
||||
[ungrouped]
|
||||
jade ansible_host=172.16.0.25 ansible_user=alex
|
||||
jackson ansible_host=direct.jackson.alexav.gg ansible_user=root
|
||||
ash-1 ansible_host=ash-1.landite.games ansible_user=root
|
||||
nas ansible_host=172.16.0.29 ansible_user=alex
|
||||
8
main.yml
8
main.yml
@@ -131,3 +131,11 @@
|
||||
- name: Deploy Wings
|
||||
import_tasks: tasks/wings.yml
|
||||
tags: wings_deploy
|
||||
|
||||
- hosts: ash-1
|
||||
|
||||
roles:
|
||||
- role: traefik
|
||||
tags: traefik_deploy
|
||||
vars:
|
||||
server: "ash-1"
|
||||
|
||||
@@ -31,6 +31,11 @@
|
||||
src: remote-dynamic.yml.j2
|
||||
dest: "{{ data_dir }}/traefik/dynamic.yml"
|
||||
when: server == "jackson"
|
||||
- name: Create Traefik Dynamic File (Remote 2)
|
||||
template:
|
||||
src: remote-ash-1.yml.j2
|
||||
dest: "{{ data_dir }}/traefik/dynamic.yml"
|
||||
when: server == "ash-1"
|
||||
|
||||
- name: Deploy Traefik Docker Container
|
||||
docker_container:
|
||||
|
||||
@@ -48,8 +48,14 @@ http:
|
||||
- webSecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
wings:
|
||||
rule: "Host(`wings.fntz.net`)"
|
||||
service: wings
|
||||
entryPoints:
|
||||
- webSecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
|
||||
|
||||
services:
|
||||
plex:
|
||||
loadBalancer:
|
||||
@@ -74,4 +80,8 @@ http:
|
||||
iptv:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://nas:8409/"
|
||||
- url: "http://nas:8409/"
|
||||
wings:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://nas:8090/"
|
||||
15
roles/traefik/templates/remote-ash-1.yml.j2
Normal file
15
roles/traefik/templates/remote-ash-1.yml.j2
Normal file
@@ -0,0 +1,15 @@
|
||||
http:
|
||||
routers:
|
||||
wings:
|
||||
rule: "Host(`ash-1.landite.games`)"
|
||||
service: wings
|
||||
entryPoints:
|
||||
- webSecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
|
||||
services:
|
||||
wings:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://5.161.219.50:8090"
|
||||
Reference in New Issue
Block a user