Sorry for being unclear - I meant that I can implement above functionality 
either via ansible (albeit I have no clue on how to make certain things run 
in the background as per my question) or write a script that does all of 
that and have a single ansible statement like this:

- shell: reconfigure_nic.sh {{ nic_name }} {{bridge_name}}

I'm leaving out details of that script implementation because I both don't 
have it and do not have inclination to implement it with all bells and 
whistles to match ansible functionality, but something along the lines of:

ovs-vsctl --may-exist add-port {{ bridge_name }} {{nic_name}}
service network restart 

and run it in the background... 

-- 
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/c116a14c-bc6a-4e98-a854-33af2976ec36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to