Documentation

    include

    This module include tasks to be executed from another file.

    Attributes

    check_mode:
      support: none
    

    Parameters

    Parameter Required Type Values Description
    file true string   Parse target file and execute tasks in the current context.

    Example

    - include: foo.rh
    
    - include: "{{ rash.dir }}/bar.rh"
    
    - include: "{{ env.HOSTNAME }}.rh"