From 258473132c552adf9309a0fcadc3e9c9ddf2d551 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 2 Jul 2021 22:16:16 +0200 Subject: add host ele-coturn --- dan/ele-coturn.yml | 14 ++++++++++++++ dan/group_vars/emc.yml | 18 +++++++++--------- dan/host_vars/ele-coturn.yml | 10 ++++++++++ inventory/host_vars/ele-coturn.yml | 39 ++++++++++++++++++++++++++++++++++++++ inventory/hosts.ini | 3 +++ 5 files changed, 75 insertions(+), 9 deletions(-) create mode 100644 dan/ele-coturn.yml create mode 100644 dan/host_vars/ele-coturn.yml create mode 100644 inventory/host_vars/ele-coturn.yml diff --git a/dan/ele-coturn.yml b/dan/ele-coturn.yml new file mode 100644 index 00000000..e398f90e --- /dev/null +++ b/dan/ele-coturn.yml @@ -0,0 +1,14 @@ +--- +- name: Basic Setup + hosts: ele-coturn + roles: + - role: apt-repo/base + - role: core/base + - role: core/sshd/base + - role: core/zsh + - role: core/ntp + - role: kubernetes/base + - role: kubernetes/standalone/base + - role: apt-repo/spreadspace + - role: acmetool/base +# - role: apps/coturn diff --git a/dan/group_vars/emc.yml b/dan/group_vars/emc.yml index a8c4004f..311fbe31 100644 --- a/dan/group_vars/emc.yml +++ b/dan/group_vars/emc.yml @@ -1,10 +1,10 @@ $ANSIBLE_VAULT;1.2;AES256;dan -62373236353033346534363864356138396637653435313339373964323334386465323634303863 -6132306331343566333838386530326332353037393637660a643534326336383665306230316237 -64633266336233306661663231333031663933373432353139323163373932323930393636373035 -6238346263333632660a646533653935633964326439386237303838613166383331393534383566 -36336662346632326663633734656435396339343264363733343434323061623438663662343866 -33643237623235356431303638323836633137383334363830623565396161623563623439663762 -35356135666465366463336564343730616633383863313833303830333464356234383339363334 -61613331663264356462396165663565303463333932363331386134663230363262393664346161 -6133 +38623432343430343233653166646531333662656531626437333834373837653562663538323934 +3063636231616330373135313364306635623561383530350a306366373065336530653939326134 +63663764666665663030326639303634663166316234346339313934653563386163386434383738 +3937306234656563660a373639613435303066366134303134633261363237626463666661643636 +34346662313338633236373035316539306166643038653266633234653862383639613965373738 +35663863326138396134656266666636636435323563616130623734646638623938303036306664 +64666131643238613565336431323466656532633332623439333232396133353331666636383062 +66316534613464373133663564333837303762663334396132386539613031326431356137663733 +3332 diff --git a/dan/host_vars/ele-coturn.yml b/dan/host_vars/ele-coturn.yml new file mode 100644 index 00000000..29713376 --- /dev/null +++ b/dan/host_vars/ele-coturn.yml @@ -0,0 +1,10 @@ +$ANSIBLE_VAULT;1.2;AES256;dan +37613062633231323434353831353063666539366565663236343338356332316664663761376263 +3135343931363536376334353563383438333363393632300a393234356266326436613832353835 +38613731366265343336653662306664636264616135383961323436323362616630663662306536 +3437393033376461620a326630613439383761326566383863306635616265383135326237336164 +62396565373135626332373231626336613565353539326339643862323433623032613233366364 +36646465323465653936623565383066333034343538353961393938316239353336653339393635 +31643234646531643530656261393163353061646436643030623461356439643064346562353563 +62363865363666613361643733613838636236613865303961353437626164626530666364613039 +3765 diff --git a/inventory/host_vars/ele-coturn.yml b/inventory/host_vars/ele-coturn.yml new file mode 100644 index 00000000..51a0793a --- /dev/null +++ b/inventory/host_vars/ele-coturn.yml @@ -0,0 +1,39 @@ +--- +install: + cloud: + credentials: + token: "{{ vault_hcloud_api_token }}" + +network: {} + +docker_storage: + type: lvm + vg: "{{ host_name }}" + lv: docker + size: 5G + fs: ext4 + +kubelet_storage: + type: lvm + vg: "{{ host_name }}" + lv: kubelet + size: 5G + fs: ext4 + +kubernetes_version: 1.21.2 +kubernetes_container_runtime: docker +kubernetes_standalone_max_pods: 100 +kubernetes_standalone_pod_cidr: 192.168.255.0/24 +kubernetes_standalone_cni_variant: with-portmap + + +# coturn_version: 4.5.2 +# coturn_realm: elev8.at +# coturn_hostnames: +# - stun.elev8.at +# - turn.elev8.at + +# coturn_auth_secret: "{{ vault_coturn_auth_secret }}" +# coturn_listening_port: 3478 +# coturn_tls_listening_port: 443 +# coturn_install_nginx_vhost: no diff --git a/inventory/hosts.ini b/inventory/hosts.ini index 871ee575..c0c37138 100644 --- a/inventory/hosts.ini +++ b/inventory/hosts.ini @@ -230,6 +230,7 @@ ele-orpheum ele-tub ele-gwhetzner ele-mur +ele-coturn [elevate:children] ele-ap @@ -387,6 +388,7 @@ sk-tomnext [hcloud] ch-mimas2 ele-lt +ele-coturn glt-coturn glt-jitsi glt-stream @@ -444,6 +446,7 @@ k8s-chtest [standalone-kubelet] sk-cloudio ele-thetys +ele-coturn lw-thetys s2-thetys sk-tomnext-nc -- cgit v1.2.3