Commit 2829be88 authored by nanahira's avatar nanahira

allow only china mirrors for docker

parent 4cf4f11b
...@@ -12,3 +12,4 @@ install_docker: false ...@@ -12,3 +12,4 @@ install_docker: false
upgrade: false upgrade: false
reboot: false reboot: false
pip_executable: pip pip_executable: pip
china_mirror_docker: false
- name: China mirror for Docker - name: China mirror for Docker
set_fact: set_fact:
mirror_docker: https://mirrors.tuna.tsinghua.edu.cn/docker-ce mirror_docker: https://mirrors.tuna.tsinghua.edu.cn/docker-ce
when: "china_mirror" when: "china_mirror or china_mirror_docker"
- name: clean apt Docker - name: clean apt Docker
become: true become: true
apt: apt:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment