From 1d0c703c42098654bd64197d64bc4fe551908ad4 Mon Sep 17 00:00:00 2001
From: David Kilias <dkdent@netz39.de>
Date: Sun, 23 Oct 2022 22:52:57 +0200
Subject: [PATCH] fix: rename role nginx-https-ingres to resolve ansible lint
 warning 106

---
 holmium.yml                                                     | 2 +-
 .../files/apt-preference-99nginx                                | 0
 .../files/nginx.conf                                            | 0
 .../handlers/main.yml                                           | 0
 .../{nginx-https-ingress => nginx_https_ingress}/tasks/main.yml | 0
 .../templates/dehydrated-host.conf.j2                           | 0
 .../templates/nginx.list.j2                                     | 0
 .../templates/passthrough.conf.j2                               | 0
 8 files changed, 1 insertion(+), 1 deletion(-)
 rename roles/{nginx-https-ingress => nginx_https_ingress}/files/apt-preference-99nginx (100%)
 rename roles/{nginx-https-ingress => nginx_https_ingress}/files/nginx.conf (100%)
 rename roles/{nginx-https-ingress => nginx_https_ingress}/handlers/main.yml (100%)
 rename roles/{nginx-https-ingress => nginx_https_ingress}/tasks/main.yml (100%)
 rename roles/{nginx-https-ingress => nginx_https_ingress}/templates/dehydrated-host.conf.j2 (100%)
 rename roles/{nginx-https-ingress => nginx_https_ingress}/templates/nginx.list.j2 (100%)
 rename roles/{nginx-https-ingress => nginx_https_ingress}/templates/passthrough.conf.j2 (100%)

diff --git a/holmium.yml b/holmium.yml
index 00c05fe..405f67e 100644
--- a/holmium.yml
+++ b/holmium.yml
@@ -6,7 +6,7 @@
     ansible_python_interpreter: /usr/bin/python3
 
   roles:
-    - role: nginx-https-ingress
+    - role: nginx_https_ingress
       vars:
         ingress:
           - server: kant
diff --git a/roles/nginx-https-ingress/files/apt-preference-99nginx b/roles/nginx_https_ingress/files/apt-preference-99nginx
similarity index 100%
rename from roles/nginx-https-ingress/files/apt-preference-99nginx
rename to roles/nginx_https_ingress/files/apt-preference-99nginx
diff --git a/roles/nginx-https-ingress/files/nginx.conf b/roles/nginx_https_ingress/files/nginx.conf
similarity index 100%
rename from roles/nginx-https-ingress/files/nginx.conf
rename to roles/nginx_https_ingress/files/nginx.conf
diff --git a/roles/nginx-https-ingress/handlers/main.yml b/roles/nginx_https_ingress/handlers/main.yml
similarity index 100%
rename from roles/nginx-https-ingress/handlers/main.yml
rename to roles/nginx_https_ingress/handlers/main.yml
diff --git a/roles/nginx-https-ingress/tasks/main.yml b/roles/nginx_https_ingress/tasks/main.yml
similarity index 100%
rename from roles/nginx-https-ingress/tasks/main.yml
rename to roles/nginx_https_ingress/tasks/main.yml
diff --git a/roles/nginx-https-ingress/templates/dehydrated-host.conf.j2 b/roles/nginx_https_ingress/templates/dehydrated-host.conf.j2
similarity index 100%
rename from roles/nginx-https-ingress/templates/dehydrated-host.conf.j2
rename to roles/nginx_https_ingress/templates/dehydrated-host.conf.j2
diff --git a/roles/nginx-https-ingress/templates/nginx.list.j2 b/roles/nginx_https_ingress/templates/nginx.list.j2
similarity index 100%
rename from roles/nginx-https-ingress/templates/nginx.list.j2
rename to roles/nginx_https_ingress/templates/nginx.list.j2
diff --git a/roles/nginx-https-ingress/templates/passthrough.conf.j2 b/roles/nginx_https_ingress/templates/passthrough.conf.j2
similarity index 100%
rename from roles/nginx-https-ingress/templates/passthrough.conf.j2
rename to roles/nginx_https_ingress/templates/passthrough.conf.j2