Skip to content

Commit

Permalink
test fix - unbound reload timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Dec 9, 2023
1 parent d42b517 commit 56b315b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions tests/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@

- name: Cleanup Unbound General
ansibleguy.opnsense.unbound_general:
reload: false # speed

- name: Cleanup Unbound DNS ACLs
ansibleguy.opnsense.unbound_acl:
name: "{{ item }}"
state: 'absent'
reload: false # speed
loop:
- 'ANSIBLE_TEST_1_1'
- 'ANSIBLE_TEST_1_2'
Expand All @@ -65,6 +67,7 @@
domain: "{{ item.d }}"
target: "{{ item.t }}"
state: 'absent'
reload: false # speed
loop:
- {d: 'dot.opnsense.test.ansibleguy.net', t: '1.1.1.1'}
- {d: 'dot.opnsense.test.ansibleguy.net', t: '1.1.1.2'}
Expand All @@ -74,6 +77,7 @@
domain: "{{ item.d }}"
target: "{{ item.t }}"
state: 'absent'
reload: false # speed
loop:
- {d: 'fwd.opnsense.test.ansibleguy.net', t: '1.1.1.1'}
- {d: 'fwd.opnsense.test.ansibleguy.net', t: '1.1.1.2'}
Expand All @@ -86,7 +90,7 @@
domain: 'dummy'
state: 'absent'
match_fields: ['description']
timeout: 60
reload: false # speed
loop:
- 'ANSIBLE_TEST_1_1'
- 'ANSIBLE_TEST_1_2'
Expand All @@ -98,7 +102,7 @@
domain: 'dummy'
state: 'absent'
match_fields: ['description']
timeout: 60
reload: false # speed
loop:
- 'ANSIBLE_TEST_1_1'
- 'ANSIBLE_TEST_1_2'
Expand All @@ -111,12 +115,17 @@
server: '192.168.0.1'
state: 'absent'
match_fields: ['description']
timeout: 60
reload: false # speed
loop:
- 'ANSIBLE_TEST_1_1'
- 'ANSIBLE_TEST_1_2'
- 'ANSIBLE_TEST_1_3'

- name: Reload Unbound
ansibleguy.opnsense.reload:
target: 'unbound'
timeout: 200 # sooo slow

- name: Cleanup syslog
ansibleguy.opnsense.syslog:
description: "{{ item }}"
Expand Down

0 comments on commit 56b315b

Please sign in to comment.