- name: Test that check works with check_mode specified in roles hosts: testhost vars: - output_dir: . roles: - { role: test_always_run, tags: test_always_run } - { role: test_check_mode, tags: test_check_mode }