diff --git a/playbooks/webservers.yml b/playbooks/webservers.yml index 1789141..df9295d 100644 --- a/playbooks/webservers.yml +++ b/playbooks/webservers.yml @@ -62,12 +62,8 @@ gitweb_url: "www.9iron.club" gitweb_webroot: "/var/www/www" tags: [ web, webroot, 9i ] - - role: gitweb - vars: - gitweb_repo: "https://git.9iron.club/salt/desultd" - gitweb_url: "desu.ltd" - gitweb_webroot: "/var/www/desultd" - tags: [ web, webroot, desu ] +- hosts: web1.9iron.club + roles: - role: redirect vars: redirect_from: "otwstudios.org" @@ -80,3 +76,11 @@ gitweb_url: "www.otwstudios.org" gitweb_webroot: "/var/www/otwstudios.org" tags: [ web, webroot, otw ] +- hosts: web1.9iron.club + roles: + - role: gitweb + vars: + gitweb_repo: "https://git.9iron.club/salt/desultd" + gitweb_url: "desu.ltd" + gitweb_webroot: "/var/www/desultd" + tags: [ web, webroot, desu ] diff --git a/roles/gitweb/tasks/main.yml b/roles/gitweb/tasks/main.yml index dbf787b..81dbce9 100644 --- a/roles/gitweb/tasks/main.yml +++ b/roles/gitweb/tasks/main.yml @@ -25,6 +25,9 @@ cmd: "a2ensite {{ gitweb_url }}.conf" creates: "/etc/apache2/sites-enabled/{{ gitweb_url }}.conf" notify: restart apache + - name: Debug site name + debug: + msg: "{{ gitweb_url }} at {{ gitweb_webroot }} from {{ gitweb_repo }}" - name: Generate certificate include_role: name: https diff --git a/roles/https/tasks/main.yml b/roles/https/tasks/main.yml index 71dfb31..c2d020d 100644 --- a/roles/https/tasks/main.yml +++ b/roles/https/tasks/main.yml @@ -3,6 +3,9 @@ --- - name: "Register certificate for {{ website_url }}" block: + - name: Debug info + debug: + msg: "Installing cert for {{ website_url }}" - name: Install SSL-required packages apt: name: python3-openssl