Which is more preferable, local_action or delegate_to then - does it matter at all?
With regards to sudo... I'm sure this is a noob question... but right now I've been running my play books with the sudo flag, but the local operations I did not want to run with sudo, ergo the sudo:false. I have needed to run my playbooks with the sudo for those that run yum installs and so forth... should I not be doing that? What's the best/recommended approach on this front? The reason I didn't use git archive is because I have some post-checkout build operations that I wanted to perform before compressing to send to the server. Thanks so much for your help! On Sunday, December 29, 2013 10:52:49 AM UTC-5, Brian Coca wrote: > > nothing broken I can see, but a few things: > > - local_action: and delegate_to: 127.0.0.1 mean the same thing you can > remove one, don't need both. > > - sudo: false is the default, since you don't set it to true at the play > level you should only need to set it to true for tasks that require it. > > - git archive can create a tarball that already doesn't have special > files/dirs > > > > -- > Brian Coca > Stultorum infinitus est numerus > > 0110000101110010011001010110111000100111011101000010000001111001011011110111010100100000011100110110110101100001011100100111010000100001 > Pedo mellon a minno > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
