- hosts: testhost2

  tasks:
    - name: Assert that variable was set in playbook1.yml
      assert:
        that:
          - canary_var1 == 'playbook1 imported'
      tags:
        - validate
        - validate1