Simple, but I can't figure it out.  The following doesn't appear to be 
working.  Wondering if I have a syntax error?

- assert:
    that:
      - user is defined
    msg: "Be sure to define the username under defaults/main.yml"

Whether it is defined or not in the defaults/main.yml it produces the 
following:

ok: [localhost] => {
    "changed": false,
    "msg": "All assertions passed"
}


It DOES work if I delete the variable completely instead of just leaving it 
empty

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/eafd1827-d142-40ae-8303-2913bba72ad7%40googlegroups.com.

Reply via email to