1234567891011121314151617181920212223242526272829303132333435363738394041 |
- ---
- - name: Create directory for helm installer file
- file:
- path: "{{ helm_installer_file_directory }}"
- state: directory
- mode: "{{ helm_installer_file_directory_mode }}"
- - name: Get helm installer
- get_url:
- url: "{{ helm_installer_url }}"
- dest: "{{ helm_installer_file_dest }}"
- mode: "{{ helm_installer_file_mode }}"
- register: helm_installer_result
- until: helm_installer_result is not failed
- retries: 20
- - name: Install helm
- command: "/bin/bash {{ helm_installer_file_dest }}"
- changed_when: true
- - name: Helm - add stable repo
- command: "helm repo add stable '{{ helm_stable_repo_url }}'"
- changed_when: true
- - name: Helm - update repo
- command: helm repo update
- changed_when: true
|