Fix variable references
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -16,23 +16,24 @@ | ||||
|     - name: Configure Traefik dashboard ingress | ||||
|       ansible.builtin.template: | ||||
|         src: ingressroute.j2 | ||||
|         dest: /var/lib/rancher/k3s/server/manifests/{{ item.name }}-manifest.yaml | ||||
|         dest: /var/lib/rancher/k3s/server/manifests/{{ _template.name }}-manifest.yaml | ||||
|         owner: root | ||||
|         group: root | ||||
|         mode: 0600 | ||||
|       vars: | ||||
|         name: traefik-dashboard | ||||
|         namespace: kube-system | ||||
|         config: |2 | ||||
|             entryPoints: | ||||
|             - web | ||||
|             - websecure | ||||
|             routes: | ||||
|             - kind: Rule | ||||
|               match: Host(`ingress.{{ vapp['metacluster.fqdn'] }}`) | ||||
|               services: | ||||
|               - kind: TraefikService | ||||
|                 name: api@internal | ||||
|         _template: | ||||
|           name: traefik-dashboard | ||||
|           namespace: kube-system | ||||
|           config: |2 | ||||
|               entryPoints: | ||||
|               - web | ||||
|               - websecure | ||||
|               routes: | ||||
|               - kind: Rule | ||||
|                 match: Host(`ingress.{{ vapp['metacluster.fqdn'] }}`) | ||||
|                 services: | ||||
|                 - kind: TraefikService | ||||
|                   name: api@internal | ||||
|  | ||||
|     - name: Ensure API availability | ||||
|       ansible.utils.cli_parse: | ||||
| @@ -157,21 +158,22 @@ | ||||
|     - name: Configure additional SSH ingress | ||||
|       ansible.builtin.template: | ||||
|         src: ingressroutetcp.j2 | ||||
|         dest: /var/lib/rancher/k3s/server/manifests/{{ item.name }}-manifest.yaml | ||||
|         dest: /var/lib/rancher/k3s/server/manifests/{{ _template.name }}-manifest.yaml | ||||
|         owner: root | ||||
|         group: root | ||||
|         mode: 0600 | ||||
|       vars: | ||||
|         name: gitea-ssh | ||||
|         namespace: gitea | ||||
|         config: |2 | ||||
|             entryPoints: | ||||
|               - ssh | ||||
|             routes: | ||||
|             - match: HostSNI(`*`) | ||||
|               services: | ||||
|               - name: gitea-ssh | ||||
|                 port: 22 | ||||
|         _template: | ||||
|           name: gitea-ssh | ||||
|           namespace: gitea | ||||
|           config: |2 | ||||
|               entryPoints: | ||||
|                 - ssh | ||||
|               routes: | ||||
|               - match: HostSNI(`*`) | ||||
|                 services: | ||||
|                 - name: gitea-ssh | ||||
|                   port: 22 | ||||
|  | ||||
|     - name: Ensure gitea API availability | ||||
|       ansible.utils.cli_parse: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user