# Ansible CLI Error

**URL:** <https://forum.ansible.com/t/ansible-cli-error/24006>\
**Category:** Ansible Project\
**Created:** [March 18, 2017, 5:34pm UTC](https://forum.ansible.com/t/ansible-cli-error/24006 "2017-03-18T17:34:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taseer\_Ahmed](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@Taseer\_Ahmed](https://forum.ansible.com/u/Taseer_Ahmed)\
**Post date:** [March 18, 2017, 5:34pm UTC](https://forum.ansible.com/t/ansible-cli-error/24006/1 "2017-03-18T17:34:41Z")

</div>

Hi,

I am making a command line interface using Python Click, that would be used to execute the ansible playbooks as specified by the user. I have done all the necessary things to launch the playbook, but it fails with the following error:

File “/usr/lib/python2.7/site-packages/ansible/plugins/callback/ **init**.py”, line 62, in **init**  
self.\_options = cli.options  
AttributeError: ‘MyAppCli’ object has no attribute ‘options’

Can anyone please let me know, what I might be doing wrong ? Any help would be greatly appreciated.

Thank you

BR,  
Taseer
