Where (not) to use single quotes in Ansible default filter

I'm unable to find which case I need to add single quote inside default filter and which case single quote is not required. I can see below cases:

1. default('enabled')

2. default(omit)

For "enabled" we are using the single quotes but for omit it is not required. Can anyone please suggest if any article explains where to use and not to use single quotes with default filter.

Tags (2)
0 Kudos
0 Replies
Join the discussion
You must log in to join this conversation.