diff --git a/ansible/hosts b/ansible/hosts index e9150be..5dc2725 100644 --- a/ansible/hosts +++ b/ansible/hosts @@ -1,4 +1,8 @@ buegelfalte.openrailwaymap.org +knallfrosch.openrailwaymap.org + +[webservers] +buegelfalte.openrailwaymap.org [tileservers] buegelfalte.openrailwaymap.org @@ -8,6 +12,11 @@ buegelfalte.openrailwaymap.org [blog] buegelfalte.openrailwaymap.org +knallfrosch.openrailwaymap.org + +[website_servers] +buegelfalte.openrailwaymap.org +knallfrosch.openrailwaymap.org [mailservers] buegelfalte.openrailwaymap.org diff --git a/ansible/openrailwaymap/openrailwaymap.yml b/ansible/openrailwaymap/openrailwaymap.yml index 60f117b..e75f671 100644 --- a/ansible/openrailwaymap/openrailwaymap.yml +++ b/ansible/openrailwaymap/openrailwaymap.yml @@ -1,5 +1,5 @@ # SPDX-License-Identifier: MIT -- hosts: all +- hosts: webservers become: yes tags: webserver tasks: @@ -15,7 +15,7 @@ import_role: name: roles/letsencrypt -- hosts: all +- hosts: tileservers become: yes tags: tileserver tasks: @@ -26,7 +26,7 @@ import_role: name: roles/tileserver_step2 -- hosts: all +- hosts: website_servers become: yes tags: website tasks: @@ -46,7 +46,6 @@ - name: 'Blog' import_role: name: roles/blog - vars: - hosts: mailservers become: yes