mirror of
https://github.com/trailofbits/algo.git
synced 2025-04-22 00:57:08 +02:00
Apply netplan for digitalocean only (#1723)
This commit is contained in:
parent
027b1b8497
commit
dcfed41ae8
2 changed files with 10 additions and 10 deletions
|
@ -11,3 +11,13 @@
|
|||
- name: Set SNAT IP as a fact
|
||||
set_fact:
|
||||
snat_aipv4: "{{ anchor_ipv4.content }}"
|
||||
|
||||
- name: IPv6 egress alias configured
|
||||
template:
|
||||
src: 99-algo-ipv6-egress.yaml.j2
|
||||
dest: /etc/netplan/99-algo-ipv6-egress.yaml
|
||||
when:
|
||||
- ipv6_support
|
||||
- ipv6_subnet_size|int > 1
|
||||
notify:
|
||||
- netplan apply
|
||||
|
|
|
@ -78,16 +78,6 @@
|
|||
- name: Gather additional facts
|
||||
import_tasks: facts.yml
|
||||
|
||||
- name: IPv6 egress alias configured
|
||||
template:
|
||||
src: 99-algo-ipv6-egress.yaml.j2
|
||||
dest: /etc/netplan/99-algo-ipv6-egress.yaml
|
||||
when:
|
||||
- ipv6_support
|
||||
- ipv6_subnet_size|int > 1
|
||||
notify:
|
||||
- netplan apply
|
||||
|
||||
- name: Set OS specific facts
|
||||
set_fact:
|
||||
tools:
|
||||
|
|
Loading…
Add table
Reference in a new issue