openstack-zuul-jobs/tests/configure-unbound.yaml

14 lines
334 B
YAML
Raw Normal View History

- name: Test the configure-unbound role
hosts: all
roles:
- role: configure-unbound
post_tasks:
- name: Check for /etc/unbound/forwarding.conf
stat: path=/etc/unbound/forwarding.conf
register: f
- name: Check forwarding file
assert:
that:
- f.stat.exists
- f.stat.isreg