Apply netplan for digitalocean only (#1723)

This commit is contained in:
Jack Ivanov 2020-02-10 11:01:20 +01:00 committed by GitHub
parent 027b1b8497
commit dcfed41ae8
2 changed files with 10 additions and 10 deletions

View file

@ -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

View file

@ -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: