Hello!

I would like to take my requirements.yml and make a config for 
https://github.com/beefsack/git-mirror

Any idea for how to accomplish this? I thought about using a lookup 
somehow, but with requirements.yml already being YAML maybe there is a 
better way?

Basically I'd like to take each "src: https://github../role-1"; in 
requirements.yml and turn into a file that looks like:

<pre>
ListenAddr = ":8080"
BasePath = "/var/mirror"
Interval = "15m"

[repo]
Origin = "https://github../role-1";

[repo]
Origin = "https://github../role-2";
</pre>

// Johan

-- 
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/14dcd4d9-55be-4feb-9df3-7b2b0ae4d6c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to