A second copy of lineinfile is something I do want to avoid :)

The others are good things.  We may still look at how to make these share
more in common using the 'v2/' codetree when that gets closer to
completeness.

Thanks!

On Sat, Dec 13, 2014 at 12:51 PM, J Hawkesworth <
[email protected]> wrote:
>
> PRs, if you are interested are:
> https://github.com/ansible/ansible-modules-core/pull/384
> and
> https://github.com/ansible/ansible/pull/9611
>
> Jon
>
>
> On Saturday, December 13, 2014 5:47:14 PM UTC, J Hawkesworth wrote:
>>
>> Sounds to me like maybe you are after win_copy, win_template and
>> win_lineinfile modules. I have created PRs for the first two.
>>
>> If you don't mind working from development version of Ansible you could
>> try them now. I'd be grateful for any feedback.
>>
>> That might get you most of what you need, with the exception of replacing
>> lines in existing files. You might find using the existing lineinfile
>> module as a starting point would be a help. Actually,  thinking about it,
>> you might be able to make use of a combination of of fetch, lineinfile and
>> win_copy to manipulate the configuration files, if you can run lineinfile
>> delegated to your Ansible controller, and you can get away with replacing
>> the files on your windows nodes.
>>
>>
>> Jon
>>
>>
>>  --
> 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/9bac8824-8f36-4119-8b25-c2cbb2babc26%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/9bac8824-8f36-4119-8b25-c2cbb2babc26%40googlegroups.com?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%2BnsWgzrvxRxfT1kn99Y6Y-KrdVxpp-7UWhzHQHqj8b-3PG9bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to