# Is there a difference in specifying hosts as a list vs specifying hosts as comma separated list in playbooks ?

**URL:** <https://forum.ansible.com/t/is-there-a-difference-in-specifying-hosts-as-a-list-vs-specifying-hosts-as-comma-separated-list-in-playbooks/24881>\
**Category:** Ansible Project\
**Created:** [July 3, 2017, 12:01pm UTC](https://forum.ansible.com/t/is-there-a-difference-in-specifying-hosts-as-a-list-vs-specifying-hosts-as-comma-separated-list-in-playbooks/24881 "2017-07-03T12:01:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ishan\_jain](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Post date:** [July 3, 2017, 12:01pm UTC](https://forum.ansible.com/t/is-there-a-difference-in-specifying-hosts-as-a-list-vs-specifying-hosts-as-comma-separated-list-in-playbooks/24881/1 "2017-07-03T12:01:49Z")

</div>

Playbook:

`
