Packer.Images/ansible/roles/metacluster/tasks/components.yml

14 lines
341 B
YAML
Raw Normal View History

- name: Create folder structure(s)
ansible.builtin.file:
path: "{{ item }}"
state: directory
loop:
- /opt/metacluster/components/harbor
- name: Add helm repositories
kubernetes.core.helm_repository:
2022-06-24 22:54:36 +00:00
name: "{{ item.name }}"
repo_url: "{{ item.url }}"
state: present
loop: "{{ components.helm_repositories }}"