Commit 03a71ef6 authored by nanahira's avatar nanahira

fix

parent 91e29193
- name: China mirror
set_fact:
china_docker_mirror: true
china_mirror_docker: true
when: china_mirror
- name: China mirror for Docker
set_fact:
......@@ -100,14 +100,14 @@
name: pip
executable: '{{pip_executable}}'
state: latest
when: "not china_docker_mirror"
when: "not china_mirror_docker"
- name: docker-compose
become: true
pip:
name: docker-compose
executable: '{{pip_executable}}'
state: latest
when: "not china_docker_mirror"
when: "not china_mirror_docker"
- name: docker-compose 国内
become: true
pip:
......@@ -115,7 +115,7 @@
executable: '{{pip_executable}}'
state: latest
extra_args: -i https://mirrors.aliyun.com/pypi/simple/
when: "china_docker_mirror"
when: "china_mirror_docker"
- name: docker-compose 国内
become: true
pip:
......@@ -123,7 +123,7 @@
executable: '{{pip_executable}}'
state: latest
extra_args: -i https://mirrors.aliyun.com/pypi/simple/
when: "china_docker_mirror"
when: "china_mirror_docker"
- name: docker 配置 创建目录
become: true
file:
......
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