diff --git a/roles/gitea/defaults/main.yaml b/roles/gitea/defaults/main.yaml index c5944f8..4c941b2 100644 --- a/roles/gitea/defaults/main.yaml +++ b/roles/gitea/defaults/main.yaml @@ -83,7 +83,7 @@ gitea_default_values: dbUser: "{{ gitea_db_username | default(omit)}}" dbPassword: "{{ gitea_db_password | default(omit) }}" -gitea_publush_ingress_nginx_values: +gitea_publish_ingress_nginx_values: controller: config: use-proxy-protocol: true diff --git a/roles/gitea/tasks/main.yaml b/roles/gitea/tasks/main.yaml index 38a8a10..5f03c0d 100644 --- a/roles/gitea/tasks/main.yaml +++ b/roles/gitea/tasks/main.yaml @@ -14,8 +14,8 @@ gitea_ingress_nginx_combined_values: "{{ gitea_ingress_nginx_default_values | combine(gitea_ingress_nginx_values, recursive=true) }}" - set_fact: - gitea_ingress_nginx_combined_values: "{{ gitea_ingress_nginx_combined_values | combine(gitea_publush_ingress_nginx_values, recursive=true) }}" - when: gitea_publish_web + gitea_ingress_nginx_combined_values: "{{ gitea_ingress_nginx_combined_values | combine(gitea_publish_ingress_nginx_values, recursive=true) }}" + when: gitea_publish_web - name: Deploy Nginx Ingress for Gitea community.kubernetes.helm: