Yep, +1 to this.

Sorry about the misbehaving application :)





On Wed, Apr 9, 2014 at 10:51 AM, Tony Marin <[email protected]> wrote:

>
> You can try to loop using with_items: and storing the regexs, lines, etc
> in variables.
>
>
>
> On 09/04/14 16:49, Michael Baydoun wrote:
>
> I need to insert many lines of configuration and must use lineinfile or
> something similar.
> The particular application in question also writes changes over time to
> other parts of the same file.
>
>  What is the best, cleanest way to accomplish this?
> Is there a solution other than to string a bunch of lineinfile modules
> together?
>  --
> 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/80361127-7f35-4b21-8aa3-101efc777e53%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/80361127-7f35-4b21-8aa3-101efc777e53%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
>  [image: Swiss Mobility Solutions]<http://www.swissmobilitysolutions.com/>
> Antonio Marin
>
> IT Team Lead
>
> Swiss Mobility Solutions
>
> [image: Office Telephone] +34 966370055 <+34966370055>
>
> [image: Skype] antonymcs
>
> [image: Location] Av. Locutor Vicente Hipólito 39
> 03540 Alicante 
> Spain<https://maps.google.com/maps?q=Swiss+Mobility+Solutions+S.L,+Alicante,+Spain&hl=en&sll=37.0625,-95.677068&sspn=76.273886,78.837891&oq=swiss+mobility+so&hq=swiss+mobility+solutions+sl&hnear=Alicante,+Valencian+Community,+Spain&t=m&z=13>
>  [image: Email] <[email protected]> [image: LinkedIn]
> <http://es.linkedin.com/in/antonymcs> [image: Website]
> <http://www.swissmobilitysolutions.com/>
>
> --
> 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/53455E68.1070900%40swissms.ch<https://groups.google.com/d/msgid/ansible-project/53455E68.1070900%40swissms.ch?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2BnsWgymp2NsEtkUCw8y4CQ3TxK%2BWncgH0cLSZ9Lm7YxiU-pzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

<<inline: email_icon_linkedin.png>>

<<inline: email_icon_location.png>>

<<inline: email_icon_skype.png>>

<<inline: email_smslogo.png>>

<<inline: email_icon_email.png>>

<<inline: email_icon_website.png>>

<<inline: email_icon_phone.png>>

Reply via email to