Ansible Filter default

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

The filter provides a default value in case an undefined variable.

- name: Debug
  debug:
    msg: "value of {{ color | default('blue') }}"