Am Dienstag, 28. März 2017 07:47:50 UTC+2 schrieb Jörg Kastning:
>
> Hi,
>
> I would like to thank you for your hint. We are going to set the option 
> "dns=none" in NetworkManager.conf with the ansible 'lineinfile' module and 
> then deploy the /etc/resolv.conf with the template module.
>

Hello there,

I would like to post a short update to this thread in case someone is going 
to do the same with the same questions in mind.

Using the module lineinfile 
<http://docs.ansible.com/ansible/latest/lineinfile_module.html> I could not 
guarantee that the option "dns=none" is set in the correct section of 
/etc/NetworkManager/NetworkManager.conf. While the NetworkManger.conf is an 
INI like file I'm using the ini_file module 
<http://docs.ansible.com/ansible/latest/ini_file_module.html> instead, now.

Greetz,
Joerg 

-- 
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/24d3a45a-3882-4f87-b7fa-0b379daa4d1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to