# write multiple user in a column in file

**URL:** <https://forum.ansible.com/t/write-multiple-user-in-a-column-in-file/29772>\
**Category:** Ansible Project\
**Created:** [February 26, 2019, 9:41am UTC](https://forum.ansible.com/t/write-multiple-user-in-a-column-in-file/29772 "2019-02-26T09:41:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryad9200000](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Post date:** [February 26, 2019, 9:41am UTC](https://forum.ansible.com/t/write-multiple-user-in-a-column-in-file/29772/1 "2019-02-26T09:41:08Z")

</div>

Hy all,

I have a file called “file1.csv”

I want this file to have two columns (user; hostname)  
And that ansible fill is two columns from other files.

We will obtain in this file:

user ; hostname

user1 ; hostname1  
user2 ; hostname2

user3 ; hostname3

.  
.  
.

etc…

Someone have an idea please !!?

Thank you very much !! 🙂
