k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
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
570 B
22 lines
570 B
---
|
|
- name: Collect container images for offline deployment
|
|
hosts: localhost
|
|
become: no
|
|
|
|
roles:
|
|
# Just load default variables from roles.
|
|
- role: kubespray-defaults
|
|
when: false
|
|
- role: download
|
|
when: false
|
|
|
|
tasks:
|
|
# Generate files.list and images.list files from templates.
|
|
- name: Collect container images for offline deployment
|
|
template:
|
|
src: ./contrib/offline/temp/{{ item }}.list.template
|
|
dest: ./contrib/offline/temp/{{ item }}.list
|
|
mode: 0644
|
|
with_items:
|
|
- files
|
|
- images
|