Documentation

    PLEASE NOTE: This document applies to v1.3 version and not to the latest stable release v2.9

    Documentation for other releases can be found by using the version selector in the left bottom of any doc page.

    set_vars

    This module allows setting new variables.

    Attributes

    check_mode:
      support: none
    

    Parameters

    Parameter Required Type Values Description
    key_value true map   This module takes key/value pairs and save un current Vars context.

    Example

    - set_vars:
        foo: boo
    
    - assert
        that:
          - foo == 'boo'