|
|
@ -98,12 +98,12 @@ Before you can use eAPI to connect to a switch, you must enable eAPI. To enable
|
|
|
|
.. code-block:: yaml
|
|
|
|
.. code-block:: yaml
|
|
|
|
|
|
|
|
|
|
|
|
- name: Enable eAPI
|
|
|
|
- name: Enable eAPI
|
|
|
|
eos_eapi:
|
|
|
|
eos_eapi:
|
|
|
|
enable_http: yes
|
|
|
|
enable_http: yes
|
|
|
|
enable_https: yes
|
|
|
|
enable_https: yes
|
|
|
|
become: true
|
|
|
|
become: true
|
|
|
|
become_method: enable
|
|
|
|
become_method: enable
|
|
|
|
when: ansible_network_os == 'eos'
|
|
|
|
when: ansible_network_os == 'eos'
|
|
|
|
|
|
|
|
|
|
|
|
You can find more options for enabling HTTP/HTTPS connections in the :ref:`eos_eapi <eos_eapi_module>` module documentation.
|
|
|
|
You can find more options for enabling HTTP/HTTPS connections in the :ref:`eos_eapi <eos_eapi_module>` module documentation.
|
|
|
|
|
|
|
|
|
|
|
|