summaryrefslogtreecommitdiffstats
path: root/ansible/roles/chartmuseum/tasks/main.yml
blob: 882c81ccdf5f3e36ca248e6f86dbf5c4dff7b5ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: Create storage directory for chartmuseum
  file:
    path: "{{ chartmuseum_storage_dir }}"
    state: directory
    mode: 0777

- name: Load chartmuseum server image
  docker_image:
    name: "{{ chartmuseum_server_image }}"
    load_path: "{{ infra_images_path }}/{{ chartmuseum_server_image_tar }}"
    source: load
    state: present
    timeout: 120
  notify: Run chartmuseum server container