# Bug in ansible 1.8.4 with regards to step?

**URL:** <https://forum.ansible.com/t/bug-in-ansible-1-8-4-with-regards-to-step/17726>\
**Category:** Ansible Developer\
**Created:** [March 12, 2015, 6:54am UTC](https://forum.ansible.com/t/bug-in-ansible-1-8-4-with-regards-to-step/17726 "2015-03-12T06:54:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Van\_Steenbergen](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@Eric\_Van\_Steenbergen](https://forum.ansible.com/u/Eric_Van_Steenbergen)\
**Post date:** [March 12, 2015, 6:54am UTC](https://forum.ansible.com/t/bug-in-ansible-1-8-4-with-regards-to-step/17726/1 "2015-03-12T06:54:27Z")

</div>

Hi all,

I recently upgraded two of my four ansible servers to 1.8.4 and from then on the --step option no longer works. The other two servers are running 1.8.2 and have no issues at all. This is the error I’m getting when adding --step. Any other parameter / option that I normally use with ansible-playbook works without issues.

PLAY [development] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
Traceback (most recent call last):  
File “/usr/bin/ansible-playbook”, line 326, in   
sys.exit(main(sys.argv[1:]))  
File “/usr/bin/ansible-playbook”, line 266, in main  
pb.run()  
File “/usr/lib/python2.6/site-packages/ansible/playbook/ **init**.py”, line 347, in run  
if not self.\_run\_play(play):  
File “/usr/lib/python2.6/site-packages/ansible/playbook/ **init**.py”, line 740, in \_run\_play  
if not self.\_run\_task(play, task, False):  
File “/usr/lib/python2.6/site-packages/ansible/playbook/ **init**.py”, line 474, in \_run\_task  
self.callbacks.on\_task\_start(template(play.basedir, name, task.module\_vars, lookup\_fatal=False, filter\_fatal=False), is\_handler)  
File “/usr/lib/python2.6/site-packages/ansible/callbacks.py”, line 636, in on\_task\_start  
msg = msg.encode(sys.stdout.encoding, errors=‘replace’)  
TypeError: encode() takes no keyword arguments  
[~/esl-ansible] (master)

Since I’m also running Ansible Tower on those I don’t have the possibility to ‘downgrade’ to 1.8.2 on those two boxes without affecting our teams using Ansible Tower. Any help is greatly appreciated.

Kind regards,

Eric Van Steenbergen

---

<div class="post-metadata">

**Author:** ![Jurgen\_Hermann](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@Jurgen\_Hermann](https://forum.ansible.com/u/Jurgen_Hermann)\
**Post date:** [March 12, 2015, 8:51am UTC](https://forum.ansible.com/t/bug-in-ansible-1-8-4-with-regards-to-step/17726/2 "2015-03-12T08:51:17Z")

</div>

As a hotfix, take out the “errors=” and it’ll work (the culprit is Python 2.6).

---

<div class="post-metadata">

**Author:** ![Eric\_Van\_Steenbergen](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@Eric\_Van\_Steenbergen](https://forum.ansible.com/u/Eric_Van_Steenbergen)\
**Post date:** [March 12, 2015, 9:24am UTC](https://forum.ansible.com/t/bug-in-ansible-1-8-4-with-regards-to-step/17726/3 "2015-03-12T09:24:52Z")

</div>

Thanks Jurgen, that did the trick :-).
