1 2 3 4 5 6
- hosts: all gather_facts: false tasks: - assert: that: - inventory_hostname == 'testhost'