I’ve read it quite carefully. For whatever reason, I’m not understanding what he’s saying.
Thanks for the help, though. Thank you, Roger Sherman public key - A3068658 > On Aug 1, 2015, at 8:36 PM, Igor Cicimov <[email protected]> > wrote: > > Roger, the documentation you are quoting is perfectly fine, it shows you how > to invoke the same role with different parameters. What you are then doing > inside the role is wrong. It is two different things right? > > You need to understand how playbooks and roles work in Ansible and Paul's > comment is doing a good job to help you. Read it again carefully. > > On Sunday, August 2, 2015 at 2:11:48 AM UTC+10, Roger Sherman wrote: > Ok, so what you’re telling me is the documentation is wrong? Because that’s > literally exactly what it’s saying to do - if you look at my original post, > you’ll see I quoted what the documentation says to do. > > I’m not saying it’s right and you’re wrong. If it’s wrong, that’s what I want > to hear. > > Thank you, > > Roger Sherman > public key - A3068658 > >> On Jul 31, 2015, at 7:47 PM, Paul Markham <[email protected] >> <javascript:>> wrote: >> >> You're executing the role twice, each time with different parameters. If the >> role writes a single file each time, you end up with two files. The way >> you've got it now, the role will write both files each time it's executed; >> the result is what you're seeing: both files have the same content, which >> comes from the second call to the role. > -- 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/AA4FFA6B-060F-49A2-9D8E-1F1DAD5475B4%40linux.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP using GPGMail
