--- - include_tasks: "install_{{ cloud_provider }}.yml" - name: force facts cache to get updated setup: - when: lookup('first_found', ['post_' + cloud_provider + '.yml'], errors='ignore') include_tasks: "post_{{ cloud_provider }}.yml"