Host management improvements

This commit is contained in:
2020-07-07 16:19:36 -04:00
parent 67cc6ad8a5
commit 6f0e9788d3
4 changed files with 19 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
# I started this to create a filter that would translate netbox to linux-system-roles/network.
from ansible.utils.display import Display
from ansible.parsing.yaml import dumper
display = Display()
def get_type(intf_type):
@@ -16,7 +16,6 @@ def get_type(intf_type):
def translate_interface(interface):
display.vv(interface)
lsrint = {
'name': interface['name'],