Ansible Module include tasks: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
* [[Ansible_Concepts#include_tasks|Ansible Concepts]]
* [[Ansible_Concepts#include_tasks|Ansible Concepts]]
=Overview=
=Overview=
=<tt>when:</tt>=
=<tt>when</tt>=
<code>include_tasks</code> accepts a <code>when:</code> clause.  
<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>
<font color=darkgray>TODO: https://docs.ansible.com/ansible/latest/user_guide/playbooks_conditionals.html#conditionals-with-includes</font>

Latest revision as of 05:25, 7 July 2021