Advertisement
Guest User

Untitled

a guest
Jul 19th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.28 KB | None | 0 0
  1.    regexp_interfaces_list:
  2.      - "^mgmt[0-9]{1}|^[fFgGhHtT]{1}[a-zA-Z]{3,9}Ethernet[0-9]{1,2}([/][0-9]){1,3}[\\.0-9]{0,4}|"
  3.       - "^port-channel[0-9]{1,4}[\\.0-9]{0,4}|"
  4.       - "^Vlan[0-9]{1,4}|"
  5.       - "^loopback[0-9]{1,4}"
  6.  
  7. - debug:
  8.     var: regexp_interfaces_list
  9.  
  10. - debug:
  11.     var: "{{regexp_interfaces_list | join }}"
  12.  
  13. RESULTS:
  14. TASK [NXOS_Facts : debug] *******************************************************************************************************************************************************************************************************************
  15. ok: [3064-01] => {
  16.     "regexp_interfaces_list": [
  17.         "^mgmt[0-9]{1}|^[fFgGhHtT]{1}[a-zA-Z]{3,9}Ethernet[0-9]{1,2}([/][0-9]){1,3}[\\.0-9]{0,4}|",
  18.         "^port-channel[0-9]{1,4}[\\.0-9]{0,4}|",
  19.         "^Vlan[0-9]{1,4}|",
  20.         "^loopback[0-9]{1,4}"
  21.     ]
  22. }
  23.  
  24. TASK [NXOS_Facts : debug] *******************************************************************************************************************************************************************************************************************
  25. An exception occurred during task execution. To see the full traceback, use -vvv. The error was:  line 1
  26. fatal: [3064-01]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement