# Inventory file parsing in Copy Module

**URL:** <https://forum.ansible.com/t/inventory-file-parsing-in-copy-module/34999>\
**Category:** Ansible Project\
**Created:** [April 16, 2021, 9:01am UTC](https://forum.ansible.com/t/inventory-file-parsing-in-copy-module/34999 "2021-04-16T09:01:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pawan\_Kumar1](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@Pawan\_Kumar1](https://forum.ansible.com/u/Pawan_Kumar1)\
**Post date:** [April 16, 2021, 9:01am UTC](https://forum.ansible.com/t/inventory-file-parsing-in-copy-module/34999/1 "2021-04-16T09:01:10Z")

</div>

Hi Team,

I want to parse inventory file using ansible playbook to copy ssh public id .

Something like ,contents of inventory file should be used as source of copy module …
