- name: Playbook 1 hosts: testhost2 tasks: - name: Set fact in playbook 1 set_fact: canary_var1: playbook1 imported tags: - canary1