The only way I get this to work is with a cmd:

cmd: service NetworkManager stop; sleep 3; service network start

On Monday, October 30, 2017 at 9:04:53 AM UTC-6, John Harmon wrote:
>
> I need to disable and remove NetworkManager, and enable and start 
> networking.  My current configuration will lose connection with this setup, 
> but will complete if I run it a second time.  Can you think of a way to do 
> this without losing connection via ssh?
>
>
>    1. Disable NetworkManager
>    2. Enable and start networking (I think this will fail due to 
>    NetworkManager not being stopped)
>    3. Remove NetworkManager from system
>
> I am wondering if there is a better approach than what I have currently 
> above?
>

-- 
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/7065294b-591d-4d5e-91e9-b952d0f5180a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to