Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
init
Commits
35b3228e
Commit
35b3228e
authored
Jul 07, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support using docker task outside
parent
000a86fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
defaults/main.yml
defaults/main.yml
+1
-0
tasks/docker.yml
tasks/docker.yml
+1
-3
No files found.
defaults/main.yml
View file @
35b3228e
...
...
@@ -18,3 +18,4 @@ china_mirror_pip: false
china_mirror_omf
:
false
cpufreq_policy
:
none
vm_agents_status
:
present
docker_template_path
:
'
daemon.json.j2'
tasks/docker.yml
View file @
35b3228e
...
...
@@ -116,13 +116,11 @@
become
:
true
pip
:
name
:
docker-compose
executable
:
'
{{pip_executable}}'
when
:
not china_mirror_pip
-
name
:
docker-compose 国内
become
:
true
pip
:
name
:
docker-compose
executable
:
'
{{pip_executable}}'
extra_args
:
-i https://mirrors.aliyun.com/pypi/simple/
when
:
china_mirror_pip
-
name
:
docker 配置 创建目录
...
...
@@ -133,7 +131,7 @@
-
name
:
docker 配置
become
:
true
template
:
src
:
daemon.json.j2
src
:
'
{{docker_template_path}}'
dest
:
/etc/docker/daemon.json
notify
:
reload_docker
-
name
:
docker 启动
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment