Guest User

Untitled

a guest
Nov 24th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. - name: configure loopback interface address
  2. nxos_ip_interface:
  3. addr: 1.1.1.1
  4. host: "{{ ansible_host }}"
  5. interface: loopback 0
  6. mask: 24
  7. password: "{{ ansible_net_password }}"
  8. state: present
  9. transport: cli
  10. username: "{{ ansible_net_username }}"
  11. version: v4
  12.  
  13.  
  14. TASK [configure loopback interface address] ********************************************************************************************************************************************************************************************************************************************************************************
  15. fatal: [n9kv1]: FAILED! => {"changed": false, "failed": true, "msg": "ipaddress is required for this module. Run 'pip install ipaddress' for install."}
  16. to retry, use: --limit @/Users/larry/projects/vagrant/nx-os/nxos.retry
  17.  
  18.  
  19. pip2 list larry@Larrys-MacBook-Pro
  20. DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
  21. ansible (2.4.1.0)
  22. ansible-lint (3.4.17)
  23. asn1crypto (0.23.0)
  24. astroid (1.5.3)
  25. autopep8 (1.3.3)
  26. backports.functools-lru-cache (1.4)
  27. bcrypt (3.1.4)
  28. beautysh (3.7)
  29. certifi (2017.11.5)
  30. cffi (1.11.2)
  31. chardet (3.0.4)
  32. configparser (3.5.0)
  33. cryptography (2.1.3)
  34. enum34 (1.1.6)
  35. idna (2.6)
  36. ipaddress (1.0.18)
  37. isort (4.2.15)
  38. Jinja2 (2.10)
  39. lazy-object-proxy (1.3.1)
  40. MarkupSafe (1.0)
  41. mccabe (0.6.1)
  42. netaddr (0.7.19)
  43. ntlm-auth (1.0.6)
  44. paramiko (2.4.0)
  45. passlib (1.7.1)
  46. pip (9.0.1)
  47. pluggy (0.5.2)
  48. py (1.5.0)
  49. pyasn1 (0.3.7)
  50. pycodestyle (2.3.1)
  51. pycparser (2.18)
  52. pydocstyle (2.1.1)
  53. pyflakes (1.6.0)
  54. pylama (7.4.3)
  55. pylint (1.7.4)
  56. PyNaCl (1.2.0)
  57. pyOpenSSL (17.3.0)
  58. pyvmomi (6.5.0.2017.5.post1)
  59. pywinrm (0.2.2)
  60. PyYAML (3.12)
  61. requests (2.18.4)
  62. requests-ntlm (1.1.0)
  63. setuptools (36.5.0)
  64. singledispatch (3.4.0.3)
  65. six (1.11.0)
  66. snowballstemmer (1.2.1)
  67. tox (2.9.1)
  68. urllib3 (1.22)
  69. virtualenv (15.1.0)
  70. wheel (0.30.0)
  71. wrapt (1.10.11)
  72. xmltodict (0.11.0)
  73.  
  74.  
  75. ~/projects/vagrant/nx-os » ansible --version larry@Larrys-MacBook-Pro
  76. ansible 2.4.1.0
  77. config file = None
  78. configured module search path = [u'/Users/larry/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  79. ansible python module location = /usr/local/lib/python2.7/site-packages/ansible
  80. executable location = /usr/local/bin/ansible
  81. python version = 2.7.14 (default, Sep 25 2017, 09:53:22) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)]
Add Comment
Please, Sign In to add comment