1 2 3 4 5 6 7 8 9 10
- hosts: testhost2 tasks: - name: Assert that variable was set in playbook1.yml assert: that: - canary_var1 == 'playbook1 imported' tags: - validate - validate1