Ansible Module include tasks: Difference between revisions
Jump to navigation
Jump to search
(→when:) |
(→when:) |
||
Line 5: | Line 5: | ||
=Overview= | =Overview= | ||
=<tt>when:</tt>= | =<tt>when:</tt>= | ||
<code>include_tasks</code> accepts a <code>when:</code> clause. For more details, see: {{Internal|Ansible_Concepts#when_-_Conditional_Task_Execution|when - Conditional Task Execution}} | <code>include_tasks</code> accepts a <code>when:</code> clause. | ||
<font color=darkgray>TODO: https://docs.ansible.com/ansible/latest/user_guide/playbooks_conditionals.html#conditionals-with-includes</font> | |||
For more details, see: {{Internal|Ansible_Concepts#when_-_Conditional_Task_Execution|when - Conditional Task Execution}} | |||
=Difference between <tt>include_tasks</tt> and <tt>import_tasks</tt>= | =Difference between <tt>include_tasks</tt> and <tt>import_tasks</tt>= | ||
{{Internal|Ansible Difference between include and import|Difference between include and import}} | {{Internal|Ansible Difference between include and import|Difference between include and import}} |
Revision as of 05:25, 7 July 2021
External
Internal
Overview
when:
include_tasks
accepts a when:
clause.
For more details, see: