Alan Orth
9f3ab01d48
These tasks are conditional and mutually exclusive due to the "when" clause. Using import_tasks means that these are imported before the playbook execution and then skipped during evaluation of the test. It makes sense in this case to use include_tasks so that the tasks are only imported during playbook execution if the condition is met. |
||
---|---|---|
.. | ||
main.yml | ||
Ubuntu_18.04.yml | ||
Ubuntu.yml |