You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
575 B

  1. ---
  2. - name: Collect container images for offline deployment
  3. hosts: localhost
  4. become: false
  5. roles:
  6. # Just load default variables from roles.
  7. - role: kubespray-defaults
  8. when: false
  9. - role: download
  10. when: false
  11. tasks:
  12. # Generate files.list and images.list files from templates.
  13. - name: Collect container images for offline deployment
  14. template:
  15. src: ./contrib/offline/temp/{{ item }}.list.template
  16. dest: ./contrib/offline/temp/{{ item }}.list
  17. mode: "0644"
  18. with_items:
  19. - files
  20. - images