Configure ArgoCD declaratively
	
		
			
	
		
	
	
		
	
		
			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:
		| @@ -325,6 +325,19 @@ | ||||
|     # - name: Create umbrella application | ||||
|     #   ansible.builtin.template: | ||||
|     # | ||||
|     - name: Configure metacluster-gitops repository | ||||
|       ansible.builtin.template: | ||||
|         src: gitrepo.j2 | ||||
|         dest: /var/lib/rancher/k3s/server/manifests/{{ _template.name }}-manifest.yaml | ||||
|         owner: root | ||||
|         group: root | ||||
|         mode: 0600 | ||||
|       vars: | ||||
|         _template: | ||||
|           name: argocd-gitrepo-metacluster | ||||
|           namespace: argo-cd | ||||
|           uid: "{{ lookup('ansible.builtin.password', '/dev/null length=5 chars=ascii_lowercase,digits seed=inventory_hostname') }}" | ||||
|           privatekey: "{{ lookup('ansible.builtin.file', '~/.ssh/git_rsa_id') | indent(4, true) }}" | ||||
|  | ||||
|   module_defaults: | ||||
|     ansible.builtin.uri: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user