Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
nextgen-router
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
nextgen-router
Commits
cf703c3d
Commit
cf703c3d
authored
Dec 12, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cloud pull images first
parent
d73acf23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
cloud.yaml
cloud.yaml
+14
-7
No files found.
cloud.yaml
View file @
cf703c3d
...
...
@@ -18,6 +18,13 @@
mycardDomains
:
true
gfwlistIPSet
:
false
tasks
:
-
name
:
pull some images
docker_image
:
name
:
'
{{item}}'
source
:
pull
with_items
:
-
git-registry.mycard.moe/nanahira/docker-smartdns
-
git-registry.mycard.moe/nanahira/dnsmasq
-
name
:
clean some rubbish packages
become
:
true
apt
:
...
...
@@ -31,6 +38,13 @@
enabled
:
false
masked
:
true
when
:
ansible_distribution == 'Ubuntu'
-
name
:
set resolv.conf
become
:
true
copy
:
content
:
|
nameserver 127.0.0.1
dest
:
/etc/resolv.conf
-
name
:
iptables-gateways blank
file
:
name
:
'
{{ansible_user_dir}}/iptables-gateways'
...
...
@@ -98,13 +112,6 @@
docker_compose
:
project_src
:
'
{{ansible_user_dir}}/nextgen-router/services/dnsmasq'
remove_orphans
:
true
-
name
:
set resolv.conf
become
:
true
copy
:
content
:
|
nameserver 127.0.0.1
dest
:
/etc/resolv.conf
handlers
:
-
name
:
restart_dnsmasq
docker_compose
:
...
...
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