From c77416d39436140396eef3098d47564e722d4f15 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 29 Sep 2019 00:51:29 +0200 Subject: move emc k8s cluster to dan environment group --- spreadspace/acme-emc.yml | 29 ----------------------------- spreadspace/emc-dist.yml | 8 -------- spreadspace/emc-master.yml | 7 ------- spreadspace/emc-stats.yml | 8 -------- spreadspace/emc-xx.yml | 12 ------------ spreadspace/k8s-emc.yml | 23 ----------------------- 6 files changed, 87 deletions(-) delete mode 100644 spreadspace/acme-emc.yml delete mode 100644 spreadspace/emc-dist.yml delete mode 100644 spreadspace/emc-master.yml delete mode 100644 spreadspace/emc-stats.yml delete mode 100644 spreadspace/emc-xx.yml delete mode 100644 spreadspace/k8s-emc.yml (limited to 'spreadspace') diff --git a/spreadspace/acme-emc.yml b/spreadspace/acme-emc.yml deleted file mode 100644 index 9cdca1cd..00000000 --- a/spreadspace/acme-emc.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: create certificates for host - hosts: emc-xx:helene - vars: - acmetool_directory_server: "{{ acmetool_directory_server_le_live }}" - roles: - - role: acmetool/base - - role: acmetool/cert - acmetool_cert_name: "{{ inventory_hostname }}" - acmetool_cert_hostnames: - - "{{ inventory_hostname }}.spreadspace.org" - -- name: create certificates for names running on emc-00 - hosts: emc-00 - roles: - - role: acmetool/cert - acmetool_cert_name: emc - acmetool_cert_hostnames: - - stream.elevate.at - - elevate-live.spreadspace.org - - elevate-stats.spreadspace.org - -- name: create certificates for names running on helene - hosts: emc-helene - roles: - - role: acmetool/cert - acmetool_cert_name: emc - acmetool_cert_hostnames: - - elevate-feed.spreadspace.org diff --git a/spreadspace/emc-dist.yml b/spreadspace/emc-dist.yml deleted file mode 100644 index d9796969..00000000 --- a/spreadspace/emc-dist.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -- name: Basic Setup - hosts: emc-dist - roles: - - role: slim/hetzner - - role: base - - role: sshd - - role: zsh diff --git a/spreadspace/emc-master.yml b/spreadspace/emc-master.yml deleted file mode 100644 index 412faf29..00000000 --- a/spreadspace/emc-master.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: Basic Setup - hosts: emc-master - roles: - - role: base - - role: sshd - - role: zsh diff --git a/spreadspace/emc-stats.yml b/spreadspace/emc-stats.yml deleted file mode 100644 index aa4af19e..00000000 --- a/spreadspace/emc-stats.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -- name: Basic Setup - hosts: emc-stats - roles: - - role: base - - role: sshd - - role: zsh - - role: emc-stats diff --git a/spreadspace/emc-xx.yml b/spreadspace/emc-xx.yml deleted file mode 100644 index c73ffd0c..00000000 --- a/spreadspace/emc-xx.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -- name: Basic Setup - hosts: emc-xx:!emc-00 - roles: - - role: slim/hetzner - - role: base - - role: sshd - - role: zsh - - role: admin-user - - role: acmetool/base - - role: acmetool/cert - acmetool_cert_name: "{{ host_name }}.{{ host_domain }}" diff --git a/spreadspace/k8s-emc.yml b/spreadspace/k8s-emc.yml deleted file mode 100644 index 600ab2a1..00000000 --- a/spreadspace/k8s-emc.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- name: setup cluster config - hosts: k8s-emc - gather_facts: no - run_once: yes - tasks: - - name: create group for all kubernetes nodes - loop: "{{ groups['k8s-emc'] }}" - add_host: - name: "{{ item }}" - inventory_dir: "{{ inventory_dir }}" - group: _kubernetes_nodes_ - changed_when: False - - - name: create group for kubernetes master nodes - loop: "{{ groups['k8s-emc-master'] }}" - add_host: - name: "{{ item }}" - inventory_dir: "{{ inventory_dir }}" - group: _kubernetes_masters_ - changed_when: False - -- import_playbook: ../common/kubernetes.yml -- cgit v1.2.3