I have 15 servers that I need to set up and configure. I've been playing 
with Ansible a bit and I've come very far. I have one last thing to do that 
I don't know how to solve, and that is:

Each server has a file called "server.txt". In this file, the server must 
contain a certain value to be able to communicate with the master.

I have a file (locally) that has 15 different keys, and I need to ship 
these keys (on by one) to each server. I can do this manually, but I want 
to do this with Ansible since the servers will become more and more.

Is there a smart and easy way to do this with Ansible? E.g loop through 
each line, take the line, and write it to each server?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3264acf3-09a0-4c20-a112-11f77c255994%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to