ifupdown2: install upstream version (3.1.0-1) if required
This commit is contained in:
parent
8cc6e916b7
commit
3a202b4566
3 changed files with 17 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
ifupdown2__interfaces: {}
|
ifupdown2__interfaces: {}
|
||||||
|
ifupdown2__need_upstream_version: False
|
||||||
...
|
...
|
||||||
|
|
BIN
roles/ifupdown2/files/ifupdown2_3.1.0-1_all.deb
Normal file
BIN
roles/ifupdown2/files/ifupdown2_3.1.0-1_all.deb
Normal file
Binary file not shown.
|
@ -13,9 +13,24 @@
|
||||||
masked: true
|
masked: true
|
||||||
when: must_mask
|
when: must_mask
|
||||||
|
|
||||||
- name: Install ifupdown2
|
- name: Install ifupdown2 (debian version)
|
||||||
apt:
|
apt:
|
||||||
name: ifupdown2
|
name: ifupdown2
|
||||||
|
when: "not ifupdown2__need_upstream_version"
|
||||||
|
|
||||||
|
# FIXME: ifupdown2 3.1.0-1 is not yet available, but is needed for its
|
||||||
|
# better VxLAN support
|
||||||
|
# See https://github.com/CumulusNetworks/ifupdown2/issues/211
|
||||||
|
- name: Install upstream version of ifupdown2
|
||||||
|
block:
|
||||||
|
- name: Upload .deb file
|
||||||
|
copy:
|
||||||
|
src: ifupdown2_3.1.0-1_all.deb
|
||||||
|
dest: /tmp/ifupdown2_3.1.0-1_all.deb
|
||||||
|
- name: Install .deb file
|
||||||
|
apt:
|
||||||
|
deb: /tmp/ifupdown2_3.1.0-1_all.deb
|
||||||
|
when: "ifupdown2__need_upstream_version"
|
||||||
|
|
||||||
- name: Unmask networking now that ifupdown2 is installed
|
- name: Unmask networking now that ifupdown2 is installed
|
||||||
systemd:
|
systemd:
|
||||||
|
|
Loading…
Reference in a new issue