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
be5a9ac3
Commit
be5a9ac3
authored
Dec 08, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install part
parent
8d5bbcf9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
install.yaml
install.yaml
+46
-0
variables.yaml
variables.yaml
+1
-0
No files found.
install.yaml
0 → 100644
View file @
be5a9ac3
---
-
hosts
:
router_nextgen
remote_user
:
root
become
:
true
vars
:
kernel_modules
:
-
macvlan
-
bonding
-
8021q
docker_images
:
-
oznu/cloudflare-ddns
-
git-registry.mycard.moe/nanahira/docker-dhcpv6-client
-
git-registry.mycard.moe/nanahira/gateway-selector
-
git-registry.mycard.moe/nanahira/tr069-daemon
-
git-registry.mycard.moe/nanahira/dnsmasq
-
git-registry.mycard.moe/nanahira/docker-bird
-
git-registry.mycard.moe/nanahira/docker-lldp
tasks
:
-
name
:
apt
apt
:
name
:
bridge-utils,ifenslave,vlan,pppoe,iproute2,iptables
update_cache
:
true
-
name
:
pve things
apt
:
name
:
'
pve-headers-{{ansible_kernel}},ifupdown2'
when
:
ansible_kernel.endswith("-pve")
-
name
:
ifupdown
apt
:
name
:
ifupdown
when
:
not ansible_kernel.endswith("-pve")
-
name
:
modules file
copy
:
content
:
|
{% for module in kernel_modules %}
{{module}}
{% endfor %}
notify
:
load_modules
-
name
:
pull docker images
docker_image
:
name
:
'
{{item}}'
source
:
pull
with_items
:
'
{{docker_images}}'
handlers
:
-
name
:
load_modules
shell
:
'
modprobe
{{item}}'
with_items
:
'
{{kernel_modules}}'
variables.yaml
0 → 100644
View file @
be5a9ac3
ubuntu_mirror
:
http://archive.ubuntu.com
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