feat: restructure repository as ansible collection
BREAKING CHANGE: Repository restructure from Ansible Role to Ansible Collection !37
This commit is contained in:
		
							
								
								
									
										27
									
								
								roles/nfc_kubernetes/tasks/helm/main.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								roles/nfc_kubernetes/tasks/helm/main.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,27 @@ | ||||
| --- | ||||
|  | ||||
| - name: Fetch Helm APT Key | ||||
|   ansible.builtin.get_url: | ||||
|     url: https://baltocdn.com/helm/signing.asc | ||||
|     dest: /usr/share/keyrings/helm.asc | ||||
|     mode: 740 | ||||
|  | ||||
|  | ||||
| - name: Add Helm Repository | ||||
|   ansible.builtin.apt_repository: | ||||
|     repo: >- | ||||
|       deb [arch={%- if ansible_architecture == 'aarch64' -%} | ||||
|         arm64 | ||||
|       {%- else -%} | ||||
|         amd64 | ||||
|       {%- endif %} signed-by=/usr/share/keyrings/helm.asc] http://baltocdn.com/helm/stable/{{ | ||||
|       ansible_os_family | lower }}/ all main | ||||
|     state: present | ||||
|     filename: helm | ||||
|  | ||||
|  | ||||
| - name: Install Helm | ||||
|   ansible.builtin.apt: | ||||
|     package: | ||||
|       - helm | ||||
|     state: present | ||||
		Reference in New Issue
	
	Block a user