blob: 1b9266fe5b326fe271a4046ba4603a5c81b5d6ef [file] [log] [blame]
---
# nsd molecule/default/verify.yml
#
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0
- name: Converge
hosts: all
vars:
dns_forward_zones:
example.com:
serial: 20201102
ip_range: 10.0.0.1/24
ns:
- gw.example.com.
a:
gw: 10.0.0.1
host1: 10.0.0.2
host2: 10.0.0.3
printer: 10.0.0.4
cname:
lpr: printer.example.com.
srv: {}
txt: {}
example.org:
serial: 20201102
ip_range: 10.0.10.1/24
ns:
- gw2.example.org.
a:
gw2: 10.0.10.1
cname: {}
srv: {}
txt: {}
dns_reverse_zones:
10.0.0.0/8:
serial: 20210315
ns:
- gw.example.com.
- gw2.example.org.
ptr:
10.0.0.1: gw.example.com.
10.0.0.2: host1.example.com.
10.0.0.3: host2.example.com.
10.0.0.4: printer1.example.com.
10.0.10.1: gw2.example.org.
tasks:
- name: "Include nsd"
include_role:
name: "nsd"