fatal: [hadoop-client001.dev.abc.com]: FAILED! => {"failed": true, "msg": "The conditional check ''hdfsuser' in {{ item.groups }}' failed. The error was: template error while templating string: expected token ',', got 'string'. String: {% if 'hdfsuser' in [u'users'] %} True {% else %} False {% endif %}\n\nThe error appears to have been in '/Users/xyz/ansible/roles/luigi/tasks/main.yml': line 81, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: create user tmp dir /srv/tmp/$USER on gateway\n ^ here\n"}