ryanlerch / fedora-infra / ansible

Forked from fedora-infra/ansible 4 years ago
Clone

a2bef63 openqa/worker: use include_tasks not import_tasks

Authored and Committed by adamwill 3 years ago
    openqa/worker: use include_tasks not import_tasks
    
    Using `when` with `import_tasks` doesn't actually skip the import
    entirely, it just imports the tasks and skips them one by one.
    Which reads oddly. `include_tasks` is properly dynamic so seems
    better here.
    
    Signed-off-by: Adam Williamson <awilliam@redhat.com>