ansible-ifupdown icon indicating copy to clipboard operation
ansible-ifupdown copied to clipboard

Single argument to disable autoconfiguration

Open murinicanor opened this issue 7 years ago • 1 comments

hi,

i'm new to ansible, so maybe i'm using it wrong, but it would be great if there were one variable that states, that debops.ifupdown should not do any default configuration. at the moment i can disable the default interface layout by setting ifupdown__interface_layout to manual, but i also have to set ifupdown__ethernet_interfaces to {} to disable the creation of interface files for any of my physical adapters. it would be great if there was only one knob for turning off all autoconfiguration.

thanks for your work!

murinicanor avatar Oct 18 '17 15:10 murinicanor

This is done tin the template that combines all the information the role has gathered to create the list of interfaces. Since that time, my Ansible tricks improved a bit, and at some point I would like to update this role to have one "unified" interface list; at that point it will be easier to disable the default interface generation.

Unfortunately this is a bit involved process, and I'm focusing on other things at the moment, namely fixing all remaining PRs to prepare everything for the merge into one git repository. After that, I'm sure that debops.ifupdown will have its own facelift.

drybjed avatar Oct 18 '17 17:10 drybjed