Thanks for the input James!  more food for thought... i've looked at quite 
a lot of the modules and a decent amount are from the community!  Will have 
to watch the OS upgrades and upgrade accordinly.

thanks for the tip, that role has given me quite a few ideas and answered a 
few questions.  Good to see it is supported by RHEL as well.

I notice they use some python scripts to do the configuration but couldn't 
actually work out how they are called/used by the role.  I am not familar 
with scripts within a role that provide the heavy lifting.  do you know? 

On Monday, 10 February 2020 08:59:59 UTC+8, James Cassell wrote:
>
> On Fri, Feb 7, 2020, at 7:34 AM, Vladimir Botka wrote: 
> > On Fri, 7 Feb 2020 02:32:12 -0800 (PST) 
> > matzuba <[email protected] <javascript:>> wrote: 
> > 
> > > [...] 
> > > NM seems to be the recommended way and where things are going so i 
> would 
> > > like to get this to work but obviously, i cant use the nmcli module to 
> do 
> > > so. 
> > > NM will still read the interface scripts and i have also tested 
> > > /etc/networkmanager/conf.d configuration. 
> > > [...] 
> > 
> > Let me share couple of thoughts that might help you to make your choice. 
> > 
> > The problem is the complexity. Both vertical and horizontal. Horizontal 
> > across the distributions and vertical across the layers "User_land <-> 
> D-Bus 
> > <-> System_configuration <-> Device_drivers". A nightmare for any 
> maintainer. 
> > 
> > With Ansible, you connect to the remote host and escalate to root. Then 
> you 
> > use nmcli, which is user-land tool, and go through D-Bus to configure 
> the 
> > system. It's an overkill. 
> > 
> > It's not a core module. The nmcli module is maintained by community and 
> is in 
> > preview. 
> > 
>
> This is true of the vast majority of ansible modules. The core team has no 
> interest in taking on more modules. Even the very useful ini_file module is 
> community and preview. 
>
> For the topic at hand, check out the linux-system-roles project, which is 
> shipped and supported in RHEL as rhel-system-roles. [1] 
>
> V/r, 
> James Cassell 
>
> [1] https://github.com/linux-system-roles/network 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0834fa8b-e509-4cd0-86a5-4c4e23c311e4%40googlegroups.com.

Reply via email to