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') }}"
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