- name: Verify variables are set assert: that: - azure_client_id - azure_secret - azure_subscription_id - azure_tenant - resource_group - resource_group_secondary - name: Show variables debug: msg: "{{ lookup('vars', item) }}" with_items: - azure_client_id - azure_subscription_id - azure_tenant - resource_group - resource_group_secondary