From 60ff54ce74aeaa4c18ec0d85effc8593f1fcee48 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Sun, 23 Oct 2022 22:55:09 +0200 Subject: [PATCH] fix: rename role setup-http-site-proxy to resolve ansible lint warning 106 --- README.md | 2 +- krypton.yml | 2 +- pottwal.yml | 12 ++++++------ radon.yml | 6 +++--- roles/cleanuri/README.md | 2 +- roles/cleanuri/tasks/main.yml | 4 ++-- .../defaults/main.yml | 0 .../handlers/main.yml | 0 .../tasks/main.yml | 0 .../templates/apache-docker-proxy-site.j2 | 0 tau.yml | 8 ++++---- 11 files changed, 18 insertions(+), 18 deletions(-) rename roles/{setup-http-site-proxy => setup_http_site_proxy}/defaults/main.yml (100%) rename roles/{setup-http-site-proxy => setup_http_site_proxy}/handlers/main.yml (100%) rename roles/{setup-http-site-proxy => setup_http_site_proxy}/tasks/main.yml (100%) rename roles/{setup-http-site-proxy => setup_http_site_proxy}/templates/apache-docker-proxy-site.j2 (100%) diff --git a/README.md b/README.md index e4412c5..491cd24 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,6 @@ To set up a new HTTPS vhost, the following steps need to be taken: 2. Create an external CNAME from this domain to `dyndns.n39.eu`. 3. Create an internal DNS entry in the [Descartes DNS config](https://gitea.n39.eu/Netz39_Admin/config.descartes/src/branch/prepare/dns_dhcp.txt). This is usually an alias on an existing server. 4. Add the entry to the [holmium playbook](holmium.yml). -5. Set up Dehydrated and vhost on the target host, e.g. using `setup-http-site-proxy`. +5. Set up Dehydrated and vhost on the target host, e.g. using `setup_http_site_proxy`. Do not forget to execute all playbooks with relevant changes. diff --git a/krypton.yml b/krypton.yml index b0b9158..d8080c9 100644 --- a/krypton.yml +++ b/krypton.yml @@ -127,7 +127,7 @@ - name: Setup proxy site entities-validation.svc.n39.eu include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: entities-validation.svc.n39.eu proxy_port: "{{ entities_validation_svc_host_port }}" diff --git a/pottwal.yml b/pottwal.yml index be2dc6b..c0a0dd5 100644 --- a/pottwal.yml +++ b/pottwal.yml @@ -101,7 +101,7 @@ - name: Setup proxy site gitea.n39.eu include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: "gitea.n39.eu" proxy_port: "{{ gitea_host_port }}" @@ -135,7 +135,7 @@ - name: Setup proxy site {{ shlink_domain_name }} include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: "{{ shlink_domain_name }}" proxy_port: "{{ shlink_host_port }}" @@ -186,7 +186,7 @@ - name: Setup proxy site {{ prosody_domain_name }} # point to static website for now include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: "{{ prosody_domain_name }}" proxy_port: "{{ jabber_host_port }}" @@ -259,7 +259,7 @@ - name: Setup proxy site pad.n39.eu include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: pad.n39.eu proxy_port: "{{ hedgedoc_host_port }}" @@ -291,7 +291,7 @@ - name: Setup proxy site influx.n39.eu include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: influx.n39.eu proxy_port: "{{ influxdb_host_port }}" @@ -354,7 +354,7 @@ - name: Setup proxy site redmine.n39.eu include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: redmine.n39.eu proxy_port: "{{ redmine_host_port }}" diff --git a/radon.yml b/radon.yml index 3e1e955..f938901 100644 --- a/radon.yml +++ b/radon.yml @@ -102,7 +102,7 @@ - name: Setup proxy site nodered.n39.eu include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: "nodered.n39.eu" proxy_port: 9002 @@ -137,7 +137,7 @@ - name: Setup proxy site rabbitmq.n39.eu include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: "rabbitmq.n39.eu" proxy_port: 15672 @@ -162,7 +162,7 @@ - name: Setup proxy site pwr-meter-pulse-gw-19i.svc.n39.eu include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: "pwr-meter-pulse-gw-19i.svc.n39.eu" proxy_port: 9003 diff --git a/roles/cleanuri/README.md b/roles/cleanuri/README.md index 9ea7a75..8f06326 100644 --- a/roles/cleanuri/README.md +++ b/roles/cleanuri/README.md @@ -4,7 +4,7 @@ ## Dependencies -This role uses the [setup-http-site-proxy](../setup-http-site-proxy) role. +This role uses the [setup_http_site_proxy](../setup_http_site_proxy) role. ## Use diff --git a/roles/cleanuri/tasks/main.yml b/roles/cleanuri/tasks/main.yml index 60c414e..68ba2cf 100644 --- a/roles/cleanuri/tasks/main.yml +++ b/roles/cleanuri/tasks/main.yml @@ -15,7 +15,7 @@ - name: Setup proxy site for the CleanURI WebUI include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: "{{ cleanuri_ui_domain }}" proxy_port: "{{ cleanuri_ui_host_port }}" @@ -73,7 +73,7 @@ - name: Setup proxy site the CleanURI API Gateway include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: "{{ cleanuri_api_domain }}" proxy_port: "{{ cleanuri_api_host_port }}" diff --git a/roles/setup-http-site-proxy/defaults/main.yml b/roles/setup_http_site_proxy/defaults/main.yml similarity index 100% rename from roles/setup-http-site-proxy/defaults/main.yml rename to roles/setup_http_site_proxy/defaults/main.yml diff --git a/roles/setup-http-site-proxy/handlers/main.yml b/roles/setup_http_site_proxy/handlers/main.yml similarity index 100% rename from roles/setup-http-site-proxy/handlers/main.yml rename to roles/setup_http_site_proxy/handlers/main.yml diff --git a/roles/setup-http-site-proxy/tasks/main.yml b/roles/setup_http_site_proxy/tasks/main.yml similarity index 100% rename from roles/setup-http-site-proxy/tasks/main.yml rename to roles/setup_http_site_proxy/tasks/main.yml diff --git a/roles/setup-http-site-proxy/templates/apache-docker-proxy-site.j2 b/roles/setup_http_site_proxy/templates/apache-docker-proxy-site.j2 similarity index 100% rename from roles/setup-http-site-proxy/templates/apache-docker-proxy-site.j2 rename to roles/setup_http_site_proxy/templates/apache-docker-proxy-site.j2 diff --git a/tau.yml b/tau.yml index cf81bb0..08d04a8 100644 --- a/tau.yml +++ b/tau.yml @@ -46,7 +46,7 @@ - name: Setup proxy site testredmine.netz39.de include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: testredmine.netz39.de proxy_port: 9004 @@ -69,7 +69,7 @@ - name: Setup proxy site mysql.adm.netz39.de include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: mysql.adm.netz39.de proxy_port: 9001 @@ -109,7 +109,7 @@ - name: Setup proxy site for the Docker Registry include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: "{{ docker_registry_domain }}" proxy_port: "{{ docker_registry_port }}" @@ -147,7 +147,7 @@ - name: Setup proxy site for Dokuwiki include_role: - name: setup-http-site-proxy + name: setup_http_site_proxy vars: site_name: "{{ dokuwiki_domain }}" proxy_port: "{{ dokuwiki_port }}"