Skip to content

Commit

Permalink
swap none test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorency committed Dec 17, 2024
1 parent b17aa56 commit 9e84d56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
ansible.builtin.assert:
that:
- first_host.ansible_host is regex('^[\d+\.]+$')
- first_host.tags is defined and first_host.tags is not None
- first_host.tags_by_category is defined and first_host.tags_by_category is not None
- first_host.tags is defined and first_host.tags is mapping
- first_host.tags_by_category is defined and first_host.tags_by_category is mapping
- >-
(inventory_results.poweredOn.hosts | length) ==
(inventory_results._meta.hostvars.values() | selectattr('summary.runtime.powerState', 'equalto', 'poweredOn') | length)
Expand Down

0 comments on commit 9e84d56

Please sign in to comment.