Apply netplan for digitalocean only (#1723)

pull/1727/head
Jack Ivanov 4 years ago committed by GitHub
parent 027b1b8497
commit dcfed41ae8

@ -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…
Cancel
Save