diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-11-13 22:00:02 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-11-13 22:00:02 +0100 |
commit | 7e8f3c70b28a6ebb69e1bd47bf8415ef7dfac807 (patch) | |
tree | 70c2bc35699c9c3fbdd34340876d8b30396630f0 /chaos-at-home | |
parent | finalize whawty.nginx-sso roles (diff) |
remove temporary nginx-sso test stuff
Diffstat (limited to 'chaos-at-home')
-rw-r--r-- | chaos-at-home/ch-testvm-prometheus.yml | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/chaos-at-home/ch-testvm-prometheus.yml b/chaos-at-home/ch-testvm-prometheus.yml index c142100c..9a1191ad 100644 --- a/chaos-at-home/ch-testvm-prometheus.yml +++ b/chaos-at-home/ch-testvm-prometheus.yml @@ -7,55 +7,3 @@ - role: core/sshd/base - role: core/zsh - role: core/ntp - -- name: Payload Setup - hosts: ch-testvm-prometheus - roles: - - role: apt-repo/spreadspace - - role: nginx/base - - role: nginx/auth/whawty-sso/base - - role: nginx/auth/whawty-sso/auth - post_tasks: - #### test.chaos-at-home.org (default-server) - - name: create directory for default server - file: - path: /var/www/default - state: directory - - - name: copy chaos-at-home logo file - copy: - src: "{{ global_files_dir }}/chaos-at-home/logo.jpg" - dest: /var/www/default/logo.jpg - - - name: install index.html for default server - copy: - dest: /var/www/default/index.html - content: | - <html> - <head> - <title>No Such Site</title> - </head> - <body style="font-family: Helvetica, Arial, Sans-Serif; color: white; background: black;"> - <div style="text-align: center; margin-top: 4em; margin-left:auto; margin-right:auto;"> - <img src="logo.jpg" alt="chaos@home Logo" /> - <h2 style="">You have reached the chaos@home test webserver.</h2> - </div> - </body> - </html> - - - name: configure default vhost web.chaos-at-home.org - vars: - nginx_vhost: - default: yes - name: test - template: generic - hostnames: - - test.chaos-at-home.org - extra_directives: | - include snippets/whawty-sso-chaos-at-home.conf; - locations: - '/': - root: /var/www/default - index: index.html - include_role: - name: nginx/vhost |