# not able to run playbook in ansible 2.9.2

**URL:** <https://forum.ansible.com/t/not-able-to-run-playbook-in-ansible-2-9-2/32265>\
**Category:** Ansible Project\
**Created:** [February 19, 2020, 3:44am UTC](https://forum.ansible.com/t/not-able-to-run-playbook-in-ansible-2-9-2/32265 "2020-02-19T03:44:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Chang](https://avatars.discourse-cdn.com/v4/letter/e/e68b1a/32.png) [@Eric\_Chang](https://forum.ansible.com/u/Eric_Chang)\
**Post date:** [February 19, 2020, 3:44am UTC](https://forum.ansible.com/t/not-able-to-run-playbook-in-ansible-2-9-2/32265/1 "2020-02-19T03:44:19Z")

</div>

I wrote a simple plabook to test ansible\_play\_name

> * * *
> 
> - hosts: localhost
> 
> tasks:
> 
> - name: ref playname  
> debug:  
> msg: ansible\_play\_name

I can run the playbook in ansible 2.8 , but get an error in ansible 2.9.2

ansible 2.8.0

> (.28) 2020-02-19 11:40:35 [changch@hqdc034 abc\_ansible]$ ansible --version  
> ansible 2.8.0  
> config file = /home/changch/abc\_ansible/ansible.cfg  
> configured module search path = [‘/ansible\_modules’]  
> ansible python module location = /home/changch/abc\_ansible/.28/lib/python3.6/site-packages/ansible  
> executable location = /home/changch/abc\_ansible/.28/bin/ansible  
> python version = 3.6.8 (default, Oct 7 2019, 12:59:55) [GCC 8.3.0]  
> (.28) 2020-02-19 11:40:43 [changch@hqdc034 abc\_ansible]$ ansible-playbook playbook.play\_name.yml  
> [WARNING]: No inventory was parsed, only implicit localhost is available
> 
> [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match ‘all’
> 
> [DEPRECATION WARNING]: profile\_tasks callback, does not support setting ‘options’, it will work for now, but this will be  
> required in the future and should be updated, see the 2.4 porting guide for details… This feature will be removed in version  
> 2.9. Deprecation warnings can be disabled by setting deprecation\_warnings=False in ansible.cfg.  
> [WARNING]: Skipping plugin (/home/changch/abc\_ansible/filter\_plugins/password.py) as it seems to be inv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> localhost : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
> 
> TASK: Gathering Facts --------------------------------------------------- 1.23s  
> TASK: ref playname ------------------------------------------------------ 0.01s
> 
> Playbook finished: Wed Feb 19 11:40:51 2020, 2 total tasks. 0:00:01 elapsed.

ansible 2.9.2

> (.ve) 2020-02-19 11:36:46 [changch@hqdc034 abc\_ansible]$ ansible --version  
> ansible 2.9.2  
> config file = /home/changch/abc\_ansible/ansible.cfg  
> configured module search path = [‘/ansible\_modules’]  
> ansible python module location = /home/changch/abc\_ansible/.ve/lib/python3.6/site-packages/ansible  
> executable location = /home/changch/abc\_ansible/.ve/bin/ansible  
> python version = 3.6.8 (default, Oct 7 2019, 12:59:55) [GCC 8.3.0]  
> (.ve) 2020-02-19 11:38:36 [changch@hqdc034 abc\_ansible]$
> 
> (.ve) 2020-02-19 11:30:54 [changch@hqdc034 abc\_ansible]$ ansible-playbook playbook.play\_name.yml  
> [WARNING]: No inventory was parsed, only implicit localhost is available
> 
> [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match ‘all’
> 
> ERROR! Unexpected Exception, this is probably a bug: ‘CallbackModule’ object has no attribute ‘set\_options’  
> to see the full traceback, use -vvv  
> (.ve) 2020-02-19 11:31:01 [changch@hqdc034 abc\_ansible]$

according to this issue in github  
[https://github.com/RedHatSatellite/satellite-clone/issues/238](https://github.com/RedHatSatellite/satellite-clone/issues/238)

this problem should been already fixed couple years ago ?

is there any suggestions to fix that issue ?

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [February 19, 2020, 8:01am UTC](https://forum.ansible.com/t/not-able-to-run-playbook-in-ansible-2-9-2/32265/2 "2020-02-19T08:01:34Z")

</div>

Hi

Did you actually read the 2.8 output?  
To help you locate things, see below the pinpointed paragraph
