# "Unexpected parameter type in action" error

**URL:** <https://forum.ansible.com/t/unexpected-parameter-type-in-action-error/33750>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [September 6, 2020, 5:54am UTC](https://forum.ansible.com/t/unexpected-parameter-type-in-action-error/33750 "2020-09-06T05:54:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WideOldElf](https://avatars.discourse-cdn.com/v4/letter/w/22d042/32.png) [@WideOldElf](https://forum.ansible.com/u/WideOldElf)\
**Post date:** [September 6, 2020, 5:54am UTC](https://forum.ansible.com/t/unexpected-parameter-type-in-action-error/33750/1 "2020-09-06T05:54:55Z")

</div>

Hi all

I’ve been bashing my head against this problem for several days.

I have a playbook that is called as part of an Ansible Tower workflow.

The playbook calls another ansible playbook and its this second playbook that throws the error.

The main playbook calls the second playbook like so:

- name: Provision Stage3 Windows Image

include\_tasks: stage3-wds.yml  
when: var\_host\_role.find(‘win’) != -1  
tags:

- pxe\_boot

The second playbook is:
