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
cc08c261
Commit
cc08c261
authored
Aug 03, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes for pve
parent
886a11a4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
install.yaml
install.yaml
+4
-4
network.yaml
network.yaml
+6
-0
No files found.
install.yaml
View file @
cc08c261
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
tasks
:
tasks
:
-
name
:
apt
-
name
:
apt
apt
:
apt
:
name
:
net-tools,bridge-utils,
ifenslave,vlan,pppoe,iproute2,iptables,ipset,subnetcalc
name
:
net-tools,bridge-utils,
pppoe,iproute2,iptables,ipset,subnetcalc,ifupdown,ifenslave
update_cache
:
true
update_cache
:
true
-
name
:
Ubuntu things
-
name
:
Ubuntu things
apt
:
apt
:
...
@@ -18,11 +18,11 @@
...
@@ -18,11 +18,11 @@
when
:
ansible_distribution == 'Ubuntu'
when
:
ansible_distribution == 'Ubuntu'
-
name
:
pve things
-
name
:
pve things
apt
:
apt
:
name
:
'
pve-headers-{{ansible_kernel}}
,ifupdown2
'
name
:
'
pve-headers-{{ansible_kernel}}'
when
:
ansible_kernel.endswith("-pve")
when
:
ansible_kernel.endswith("-pve")
-
name
:
ifupdown
-
name
:
non-pve things
apt
:
apt
:
name
:
ifupdow
n
name
:
vla
n
when
:
not ansible_kernel.endswith("-pve")
when
:
not ansible_kernel.endswith("-pve")
-
name
:
modules file
-
name
:
modules file
copy
:
copy
:
...
...
network.yaml
View file @
cc08c261
...
@@ -104,6 +104,12 @@
...
@@ -104,6 +104,12 @@
template
:
template
:
src
:
./files/interfaces.j2
src
:
./files/interfaces.j2
dest
:
/etc/network/interfaces
dest
:
/etc/network/interfaces
-
name
:
interfaces.new
become
:
true
template
:
src
:
./files/interfaces.j2
dest
:
/etc/network/interfaces.new
when
:
ansible_kernel.endswith("-pve")
-
name
:
bridge config
-
name
:
bridge config
include_tasks
:
./interface-tasks/bridge.yaml
include_tasks
:
./interface-tasks/bridge.yaml
vars
:
vars
:
...
...
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