Re: [ansible-project] Small Example for Reading from CSV-File for the creation of new user

2017-07-26 Thread Kai Stian Olstad
On 26. juli 2017 18:04, 'Dan Steffen' via Ansible Project wrote: maybe I am just blind but I spend today 2 hours to found out how to read from a CSV to create User at the moment I have something like - hosts: all user: name="{{ lookup('csvfile', 'item file=user.csv delimiter=, col=0') }}"

[ansible-project] Small Example for Reading from CSV-File for the creation of new user

2017-07-26 Thread 'Dan Steffen' via Ansible Project
Hello, maybe I am just blind but I spend today 2 hours to found out how to read from a CSV to create User at the moment I have something like - hosts: all user: name="{{ lookup('csvfile', 'item file=user.csv delimiter=, col=0') }}" and a CSV-File that looks like jdoe jkirk bwillis