# I am passing an extra-vars that is not working into a role.

**URL:** <https://forum.ansible.com/t/i-am-passing-an-extra-vars-that-is-not-working-into-a-role/20452>\
**Category:** Ansible Project\
**Created:** [February 4, 2016, 3:39pm UTC](https://forum.ansible.com/t/i-am-passing-an-extra-vars-that-is-not-working-into-a-role/20452 "2016-02-04T15:39:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grim76](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@Grim76](https://forum.ansible.com/u/Grim76)\
**Post date:** [February 4, 2016, 3:39pm UTC](https://forum.ansible.com/t/i-am-passing-an-extra-vars-that-is-not-working-into-a-role/20452/1 "2016-02-04T15:39:57Z")

</div>

I have a role that I am calling for simple user administration. I appreciate any feedback on what I am doing.

First of all here is the command line that I am running:

ansible-playbook -i inventories/rd general\_users.yml --extra-vars “target=haproxy targetusers=bastionusers” -u -K

The playbook will start fine and collects host data and properly pulls in my users.yml. Then when the actual user addition task fires off I get the following error:

fatal: [server1]: FAILED! =\> {“failed”: true, “msg”: “ERROR! ‘unicode object’ has no attribute ‘comment’”}  
fatal: [server2]: FAILED! =\> {“failed”: true, “msg”: “ERROR! ‘unicode object’ has no attribute ‘comment’”}

**general\_users.yml**
