Ansible Filter default
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') }}"
The filter provides a default value in case an undefined variable.
- name: Debug
debug:
msg: "value of {{ color | default('blue') }}"