This is an internal documentation. There is a good chance you’re looking for something else. See Disclaimer.

Ansible: Properties and Env. Vars.

Set Property / Environment Variable

Application properties can be set via env variable:


  env: !merge
    nice2.history.enabled: true
    nice2.history.keep_days: 30
    nice2.history.type: XmlHistory

    # converted to a comma-separated value of ',' transparently

    # remove inherited property
    nice2.n2c.session_id: null

Use !merge as described in Merge Variables.


In additional to Application Properties, any environment variable can be set via env.

Available Properties / Env. Vars.


See Available Application Properties