mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
* project: fix ansible-lint name Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: ignore jinja template error in names Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: capitalize ansible name Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: update notify after name capitalization Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
23 lines
570 B
YAML
23 lines
570 B
YAML
---
|
|
- 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
|