mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-24 14:36:04 -03:30
Merge pull request #651 from bogdando/fix_docker_install
Fix download dnsmasq image dependency on docker
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
dependencies:
|
||||
- role: download
|
||||
file: "{{ downloads.dnsmasq }}"
|
||||
when: not skip_dnsmasq|default(false)
|
||||
when: not skip_dnsmasq|default(false) and download_localhost|default(false)
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
raw: sh -c "mkdir -p /opt/bin; ln -sf /usr/bin/python /opt/bin/python"
|
||||
when: "{{ download_delegate == 'localhost' }}"
|
||||
delegate_to: localhost
|
||||
ignore_errors: true
|
||||
run_once: true
|
||||
|
||||
- name: Download | create local directory for saved/loaded container images
|
||||
@@ -103,7 +104,6 @@
|
||||
delegate_to: "{{ download_delegate }}"
|
||||
register: saved
|
||||
run_once: true
|
||||
become: false
|
||||
when: (ansible_os_family != "CoreOS" or download_delegate == "localhost") and download_run_once|bool and download.enabled|bool and download.container|bool and (container_changed|bool or not img.stat.exists)
|
||||
|
||||
- name: Download | copy container images to ansible host
|
||||
|
||||
Reference in New Issue
Block a user