aboutsummaryrefslogtreecommitdiff
path: root/playbook.yml
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2021-12-07 16:53:18 +0100
committerjaseg <code@jaseg.net>2021-12-07 16:53:18 +0100
commit591b7b8aacab0400d057043761e1870205573de1 (patch)
tree85f3e90a9d436a961e1e137c2539a36ce687e804 /playbook.yml
parentab91420bb64c8b0edde838cc3073ef8f361162ae (diff)
downloadinfra-591b7b8aacab0400d057043761e1870205573de1.tar.gz
infra-591b7b8aacab0400d057043761e1870205573de1.tar.bz2
infra-591b7b8aacab0400d057043761e1870205573de1.zip
Fix playbooks for clean re-deploy
Diffstat (limited to 'playbook.yml')
-rw-r--r--playbook.yml159
1 files changed, 83 insertions, 76 deletions
diff --git a/playbook.yml b/playbook.yml
index a34e8fe..d09aeb6 100644
--- a/playbook.yml
+++ b/playbook.yml
@@ -1,34 +1,34 @@
-- name: DNS setup
- hosts: localhost
- tags: dns
- module_defaults:
- inwx:
- username: "{{lookup('ini', 'user section=inwx file=credentials.ini')}}"
- password: "{{lookup('ini', 'pass section=inwx file=credentials.ini')}}"
- vars:
- subdomains:
- - git.jaseg.net
- - git.jaseg.de
- - blog.jaseg.net
- - blog.jaseg.de
- - kochbuch.jaseg.net
- - gerbolyze.jaseg.net
- - tracespace.jaseg.net
- - openjscad.jaseg.net
- - pogojig.jaseg.net
- - automation.jaseg.de
- - dyndns.jaseg.de
- fastmail_domains:
- - jaseg.net
- - jaseg.de
- tasks:
- - name: Gather wendelstein facts
- setup:
- delegate_to: wendelstein
- delegate_facts: True
-
- - name: Setup DNS
- include_tasks: dns.yml
+#- name: DNS setup
+# hosts: localhost
+# tags: dns
+# module_defaults:
+# inwx:
+# username: "{{lookup('ini', 'user section=inwx file=credentials.ini')}}"
+# password: "{{lookup('ini', 'pass section=inwx file=credentials.ini')}}"
+# vars:
+# subdomains:
+# - git.jaseg.net
+# - git.jaseg.de
+# - blog.jaseg.net
+# - blog.jaseg.de
+# - kochbuch.jaseg.net
+# - gerbolyze.jaseg.net
+# - tracespace.jaseg.net
+# - openjscad.jaseg.net
+# - pogojig.jaseg.net
+# - automation.jaseg.de
+# - dyndns.jaseg.de
+# fastmail_domains:
+# - jaseg.net
+# - jaseg.de
+# tasks:
+# - name: Gather wendelstein facts
+# setup:
+# delegate_to: wendelstein
+# delegate_facts: True
+#
+# - name: Setup DNS
+# include_tasks: dns.yml
- name: Wendelstein setup
@@ -37,7 +37,7 @@
- name: Set hostname
tags: setup
hostname:
- name: wendelstein.jaseg.net
+ name: wendelstein.jaseg.de
- name: Install common admin tools
tags: setup
@@ -48,7 +48,7 @@
- name: Install host requisites
tags: setup
dnf:
- name: nginx,uwsgi,python3-flask,python3-flask-wtf,uwsgi-plugin-python3,certbot,python3-certbot-nginx,python3-libselinux,git,iptables-services,python3-pycryptodomex,zip,python3-uwsgidecorators,nsd
+ name: nginx,uwsgi,python3-flask,python3-flask-wtf,uwsgi-plugin-python3,certbot,python3-certbot-nginx,python3-libselinux,git,iptables-services,python3-pycryptodomex,zip,python3-uwsgidecorators,nsd,python3-virtualenv
state: latest
- name: Disable password-based root login
@@ -82,17 +82,17 @@
enabled: yes
state: started
- - name: Create containers
- tags: setup
- include_tasks:
- file: setup_containers.yml
- apply:
- tags: setup
- vars:
- containers:
- - gerboweb
- - clippy
- - pogojig
+# - name: Create containers
+# tags: setup
+# include_tasks:
+# file: setup_containers.yml
+# apply:
+# tags: setup
+# vars:
+# containers:
+# - gerboweb
+# - clippy
+# - pogojig
- name: Setup web server
tags: www
@@ -101,19 +101,19 @@
apply:
tags: www
- - name: Setup gerboweb
- tags: gerboweb
- include_tasks:
- file: setup_gerboweb.yml
- apply:
- tags: gerboweb
+# - name: Setup gerboweb
+# tags: gerboweb
+# include_tasks:
+# file: setup_gerboweb.yml
+# apply:
+# tags: gerboweb
- - name: Setup clippy
- tags: clippy
- include_tasks:
- file: setup_clippy.yml
- apply:
- tags: clippy
+# - name: Setup clippy
+# tags: clippy
+# include_tasks:
+# file: setup_clippy.yml
+# apply:
+# tags: clippy
- name: Setup secure download
tags: secure-download
@@ -122,26 +122,26 @@
apply:
tags: secure-download
- - name: Setup tracespace
- tags: pogojig
- include_tasks:
- file: setup_tracespace.yml
- apply:
- tags: pogojig
-
- - name: Setup openjscad
- tags: pogojig
- include_tasks:
- file: setup_openjscad.yml
- apply:
- tags: pogojig
-
- - name: Setup pogojig
- tags: pogojig
- include_tasks:
- file: setup_pogojig.yml
- apply:
- tags: pogojig
+# - name: Setup tracespace
+# tags: pogojig
+# include_tasks:
+# file: setup_tracespace.yml
+# apply:
+# tags: pogojig
+
+# - name: Setup openjscad
+# tags: pogojig
+# include_tasks:
+# file: setup_openjscad.yml
+# apply:
+# tags: pogojig
+
+# - name: Setup pogojig
+# tags: pogojig
+# include_tasks:
+# file: setup_pogojig.yml
+# apply:
+# tags: pogojig
- name: Setup notification proxy
tags: notification-proxy
@@ -164,3 +164,10 @@
file: setup_dyndns.yml
apply:
tags: dyndns
+
+ - name: Setup vcd-to-8-segment-svg render thingy for TUD's WS2021 LE course
+ tags: vcdrender
+ include_tasks:
+ file: setup_vcd_render.yml
+ apply:
+ tags: vcdrender