tests: fix disconnect_cleanup.yml target count assumption

issue510
David Wilson 6 years ago
parent de7d4e0908
commit fcdfd5f107

@ -28,7 +28,7 @@
register: out
- assert:
that: out.dump|length == 4 # ssh account + 3 sudo accounts
that: out.dump|length == (play_hosts|length) * 4 # ssh account + 3 sudo accounts
- meta: reset_connection
@ -43,4 +43,4 @@
register: out
- assert:
that: out.dump|length == 1 # just the ssh account
that: out.dump|length == play_hosts|length # just the ssh account

Loading…
Cancel
Save