mirror of
https://github.com/trailofbits/algo.git
synced 2026-10-01 05:55:06 +02:00
Apply netplan for digitalocean only (#1723)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user