write multiple user in a column in file

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 !! :slight_smile: