Skip to content
Snippets Groups Projects
Commit c7c9badb authored by Christian Elberfeld's avatar Christian Elberfeld
Browse files

Upgrade server auf debian buster, telegraf entfernt

parent a879835e
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
- wget - wget
- psmisc - psmisc
- tree - tree
- tmux
- name: deploy sshd config - name: deploy sshd config
template: src=sshd_config.j2 dest=/etc/ssh/sshd_config template: src=sshd_config.j2 dest=/etc/ssh/sshd_config
......
...@@ -8,20 +8,7 @@ ...@@ -8,20 +8,7 @@
vars: vars:
packages: packages:
- docker-ce - docker-ce
- docker-compose
- python - python
- python-pip - python-pip
- name: uninstall pip packages
pip:
name: docker-py
state: absent
- name: install pip packages
pip:
name: "{{ packages }}"
state: present
vars:
packages:
- docker
- docker-compose
...@@ -6,18 +6,14 @@ motd_lines: ...@@ -6,18 +6,14 @@ motd_lines:
- "Öffentliche IPs: {{ansible_ens3.ipv4.address}} / {{ansible_ens3.ipv6[0].address}}" - "Öffentliche IPs: {{ansible_ens3.ipv4.address}} / {{ansible_ens3.ipv6[0].address}}"
debian_sources: debian_sources:
- "deb http://repo.myloc.de/debian stretch main non-free contrib" - "deb http://ftp.halifax.rwth-aachen.de/debian/ buster main contrib non-free"
- "deb https://download.docker.com/linux/debian stretch stable" - "deb http://security.debian.org/ buster/updates main contrib non-free"
- "deb http://packages.x2go.org/debian stretch main" - "deb https://download.docker.com/linux/debian buster stable"
- "deb https://repos.influxdata.com/debian stretch stable"
debian_keys_id: debian_keys_id:
- "E1F958385BFE2B6E" # x2go repo key
debian_keys_url: debian_keys_url:
- "https://download.docker.com/linux/debian/gpg" - "https://download.docker.com/linux/debian/gpg"
- "https://repos.influxdata.com/influxdb.key"
# Primäre IP Adressen des Hosts # Primäre IP Adressen des Hosts
...@@ -49,6 +45,7 @@ openvpn_clients: ...@@ -49,6 +45,7 @@ openvpn_clients:
administratorenteam: administratorenteam:
- "void"
- "sandhome" - "sandhome"
- "h3rb3rn" - "h3rb3rn"
......
...@@ -6,18 +6,14 @@ motd_lines: ...@@ -6,18 +6,14 @@ motd_lines:
- "Öffentliche IPs: {{ansible_ens3.ipv4.address}} / {{ansible_ens3.ipv6[0].address}}" - "Öffentliche IPs: {{ansible_ens3.ipv4.address}} / {{ansible_ens3.ipv6[0].address}}"
debian_sources: debian_sources:
- "deb http://ftp.halifax.rwth-aachen.de/debian/ stretch main contrib non-free" - "deb http://ftp.halifax.rwth-aachen.de/debian/ buster main contrib non-free"
- "deb http://security.debian.org/ stretch/updates main contrib non-free" - "deb http://security.debian.org/ buster/updates main contrib non-free"
- "deb http://ftp.de.debian.org/debian/ stretch-updates main" - "deb https://download.docker.com/linux/debian buster stable"
- "deb http://ftp.halifax.rwth-aachen.de/debian/ stretch-updates main contrib non-free"
- "deb https://download.docker.com/linux/debian stretch stable"
- "deb https://repos.influxdata.com/debian stretch stable"
debian_keys_id: debian_keys_id:
debian_keys_url: debian_keys_url:
- "https://download.docker.com/linux/debian/gpg" - "https://download.docker.com/linux/debian/gpg"
- "https://repos.influxdata.com/influxdb.key"
# Primäre IP Adressen des Hosts # Primäre IP Adressen des Hosts
...@@ -62,9 +58,7 @@ openvpn_server: ...@@ -62,9 +58,7 @@ openvpn_server:
administratorenteam: administratorenteam:
- "void" - "void"
- "dray"
- "sandhome" - "sandhome"
- "commander1024"
# Definition von Borgbackup Repositories # Definition von Borgbackup Repositories
......
...@@ -6,16 +6,14 @@ motd_lines: ...@@ -6,16 +6,14 @@ motd_lines:
- "Öffentliche IPs: {{ansible_ens3.ipv4.address}} / {{ansible_ens3.ipv6[0].address}}" - "Öffentliche IPs: {{ansible_ens3.ipv4.address}} / {{ansible_ens3.ipv6[0].address}}"
debian_sources: debian_sources:
- "deb http://ftp.halifax.rwth-aachen.de/debian/ stretch main contrib non-free" - "deb http://ftp.halifax.rwth-aachen.de/debian/ buster main contrib non-free"
- "deb http://security.debian.org/ stretch/updates main contrib non-free" - "deb http://security.debian.org/ buster/updates main contrib non-free"
- "deb http://ftp.de.debian.org/debian/ stretch-updates main" - "deb https://download.docker.com/linux/debian buster stable"
- "deb http://ftp.halifax.rwth-aachen.de/debian/ stretch-updates main contrib non-free"
- "deb https://download.docker.com/linux/debian stretch stable" debian_keys_id:
- "deb https://repos.influxdata.com/debian stretch stable"
debian_keys_url:
debian_keys:
- "https://download.docker.com/linux/debian/gpg" - "https://download.docker.com/linux/debian/gpg"
- "https://repos.influxdata.com/influxdb.key"
# Art des Hosts: physical, vm, docker # Art des Hosts: physical, vm, docker
...@@ -34,7 +32,5 @@ webserver_domains: ...@@ -34,7 +32,5 @@ webserver_domains:
administratorenteam: administratorenteam:
- "void" - "void"
- "dray"
- "sandhome" - "sandhome"
- "commander1024"
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
roles: roles:
- { role: common/borgbackup, tags: borgbackup } - { role: common/borgbackup, tags: borgbackup }
- { role: common/docker, tags: docker } - { role: common/docker, tags: docker }
- { role: common/telegraf, tags: telegraf }
- { role: common/nginx, tags: nginx } - { role: common/nginx, tags: nginx }
- { role: common/openvpn, tags: openvpn } - { role: common/openvpn, tags: openvpn }
- { role: common/docker_ldap, tags: ldap } - { role: common/docker_ldap, tags: ldap }
...@@ -72,7 +71,6 @@ ...@@ -72,7 +71,6 @@
remote_user: root remote_user: root
roles: roles:
- { role: common/borgbackup, tags: borgbackup } - { role: common/borgbackup, tags: borgbackup }
- { role: common/telegraf, tags: telegraf }
- { role: common/docker, tags: docker } - { role: common/docker, tags: docker }
- { role: common/nginx, tags: nginx } - { role: common/nginx, tags: nginx }
- { role: common/openvpn, tags: openvpn } - { role: common/openvpn, tags: openvpn }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment