on second thought, maybe I can do something like this in xml. I'll take a
look into that.
On Thursday, June 19, 2014 10:21:18 AM UTC-4, Michael Baydoun wrote:
>
> unfortunately, it's not that kind of file. It's a xml file for Oracle BI
>
> On Thursday, June 19, 2014 7:41:41 AM UTC-4, Michael Sc
unfortunately, it's not that kind of file. It's a xml file for Oracle BI
On Thursday, June 19, 2014 7:41:41 AM UTC-4, Michael Schultz wrote:
>
> Depending on the file, sometimes they support an include statement (e.g.,
> sudoers, apparmor, mysql, apache, ...) that you could assert lineinfile for
Because an application is making changes to other parts of the file, and
those changes need to be maintained. I can't overwrite what the
application is doing.
On Thursday, June 19, 2014 1:35:38 AM UTC-4, James Cammarata wrote:
>
> Why not use a template, or the assemble module? Both of those wo
Depending on the file, sometimes they support an include statement (e.g.,
sudoers, apparmor, mysql, apache, ...) that you could assert lineinfile for
then use template or file on the include file as appropriate.
--michael
On Jun 18, 2014 3:14 PM, "Michael Baydoun" wrote:
> I need to add 10 lines
Why not use a template, or the assemble module? Both of those would seem to
be a better fit.
On Wed, Jun 18, 2014 at 3:14 PM, Michael Baydoun
wrote:
> I need to add 10 lines to the middle of a file where the rest of the file
> is dynamic. Since it’s dynamic I need to use something like lineinfi
I need to add 10 lines to the middle of a file where the rest of the file
is dynamic. Since it’s dynamic I need to use something like lineinfile.
I’d rather not invoke lineinfile 10 times as that seems messy.
Suggestions?
--
You received this message because you are subscribed to the Googl