summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-chartmuseum/tasks/main.yml
blob: a46888e8187c4adb01baeab9c6e1777b9f8c014e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- name: "Create chartmuseum image storage dir"
  file:
    path: "{{ infra_images_path }}"
    state: directory
    mode: "u+rw,g+wx,o+rwx"
    recurse: true

- name: Download and archive chartmuseum docker image
  delegate_to: localhost
  docker_image:
    name: "{{ chartmuseum_server_image }}"
    archive_path: /tmp/chartmuseum.tar

- name: Copy chartmuseum image to node
  copy:
    src: /tmp/chartmuseum.tar
    dest: "{{ infra_images_path }}/{{ chartmuseum_server_image_tar }}"