fix zonedit dynamic ip for root xai-corp

This commit is contained in:
2023-09-19 22:26:11 -04:00
parent bfd4f6458f
commit ce77a5d779
9 changed files with 61 additions and 18 deletions

View File

@@ -9,9 +9,17 @@
- cron
when: ansible_os_family == "Debian"
- name: create zone edit cronjob
- name: xai-corp.net zone edit cronjob
cron:
name: zoneedit
name: xai-corp.net
minute: "*/35"
user: root
job: 'IP=`curl -s http://api.ipify.org` && wget -O - --http-user=rmorgan15 --http-passwd=D422B334D3768ACD "https://dynamic.zoneedit.com/auth/dynamic.html?host=xai-corp.net&dnsto=$IP" &>/dev/null'
cron_file: zoneedit
- name: test.xai-corp.net zone edit cronjob
cron:
name: test.xai-corp.net
minute: "*/45"
user: root
job: 'IP=`curl -s http://api.ipify.org` && wget -O - --http-user=rmorgan15 --http-passwd=D422B334D3768ACD "https://dynamic.zoneedit.com/auth/dynamic.html?host=test.xai-corp.net&dnsto=$IP" &>/dev/null'

View File

@@ -84,7 +84,7 @@ apps:
hello_world:
enabled: true
namespace: default
state: present
state: absent
funkwhale:
enabled: true

View File

@@ -1,7 +1,12 @@
---
# Funkwhale values
# https://gitlab.com/ananace/charts/-/tree/master/charts/funkwhale
# https://hub.docker.com/r/funkwhale/api
image:
registry: docker.io/funkwhale
tag: stable
pullPolicy: IfNotPresent
ingress:
enabled: true

View File

@@ -20,16 +20,16 @@ spec:
name: hello-world
port:
number: 80
- host: xai-corp.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: hello-world
port:
number: 80
# - host: xai-corp.net
# http:
# paths:
# - path: /
# pathType: Prefix
# backend:
# service:
# name: hello-world
# port:
# number: 80
tls: # < placing a host in the TLS config will determine what ends up in the cert's subjectAltNames
- secretName: xai-corp-production-tls

View File

@@ -5,7 +5,7 @@
image:
repository: stashapp/stash
tag: v0.21.0
tag: v0.22.1
ingress:
main:

View File

@@ -7,13 +7,13 @@
## add helm repositories
#- include_tasks: add_repos.yml
#
- name: deploy cert_manager
include_tasks: cert_manager.yml
- name: deploy hello-world
include_tasks: deployments/hello-world.yaml
when: apps.hello_world.enabled
- name: deploy cert_manager
include_tasks: cert_manager.yml
- name: deploy stash
include_tasks: deployments/stash.yaml
when: apps.stash.enabled