ci(preparations): disable IPv6 for the Ubuntu-18.04 test setup

This commit is contained in:
Alexander Weidinger 2021-04-19 01:15:36 +02:00
parent c8b3cef609
commit cc67ac9274

View File

@ -1,6 +1,16 @@
{%- if grains['os'] == 'Ubuntu' %} {%- if grains['os'] == 'Ubuntu' or grains['os_family'] == 'Arch' %}
unbound-_test_dependencies-stop-systemd-resolved: unbound-_test_dependencies-stop-systemd-resolved:
service.dead: service.dead:
- name: systemd-resolved - name: systemd-resolved
- enable: False - enable: False
{%- endif %} {%- endif %}
{%- if grains.get('osfinger', '') == 'Ubuntu-18.04' %}
unbound-_test_dependencies-no-ipv6:
cmd.run:
- name: 'echo " do-ip6: no" >> /etc/unbound/unbound.conf'
- require:
- file: unbound-config-file-file-managed
- require_in:
- service: unbound-service-running-service-running
{%- endif %}