Which TWO filters are used to transform data types in Ansible?
Trap 1: list
'list' is not a filter; use 'list' function.
Trap 2: float
There is no 'float' filter; use 'int' or arithmetic.
Trap 3: string
Use 'string' or 'str' but it's not a standard filter; 'string' is a test.
- A
list
Why wrong: 'list' is not a filter; use 'list' function.
- B
bool
Converts to boolean.
- C
float
Why wrong: There is no 'float' filter; use 'int' or arithmetic.
- D
string
Why wrong: Use 'string' or 'str' but it's not a standard filter; 'string' is a test.
- E
int
Converts to integer.