summaryrefslogtreecommitdiff
path: root/molecule/default/playbook.yml
blob: fc3cf52b30aaba508081967c5ba165e0fba0e052 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
- name: Converge
  hosts: all
  tasks:
    - name: Create images_list.yaml file
      copy:
        dest: /var/tmp/images_list.yaml
        content: |
          ---
          - docker.io/amd64/busybox:latest
          - docker.io/amd64/registry:latest
          - docker.io/amd64/haproxy:latest

    - include_role:
        name: ansible-role-dci-sync-registry
      vars:
        dci_sync_registry_images_list: /var/tmp/images_list.yaml
        dci_sync_registry_local_ip: 127.0.0.1
        dci_sync_registry_storage: vfs