Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 15, 2024
1 parent 1cc19f7 commit 1be768f
Show file tree
Hide file tree
Showing 37 changed files with 27 additions and 65 deletions.
3 changes: 1 addition & 2 deletions docs/cli_backup_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Examples
.. code-block:: yaml
- name: configurable backup path
ansible.netcommon.cli_backup:
filename: backup.cfg
Expand Down Expand Up @@ -165,4 +165,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
3 changes: 1 addition & 2 deletions docs/cli_command_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Examples
.. code-block:: yaml
- name: run show version on remote devices
ansible.netcommon.cli_command:
command: show version
Expand Down Expand Up @@ -274,4 +274,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
3 changes: 1 addition & 2 deletions docs/cli_config_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Examples
.. code-block:: yaml
- name: configure device with config
ansible.netcommon.cli_config:
config: "{{ lookup('template', 'basic/config.j2') }}"
Expand Down Expand Up @@ -408,4 +408,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
3 changes: 1 addition & 2 deletions docs/cli_restore_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Examples

.. code-block:: yaml
- name: Restore IOS-XE configuration
ansible.netcommon.cli_restore:
filename: backupDday.cfg
Expand Down Expand Up @@ -142,4 +142,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/comp_type5_filter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Examples
.. code-block:: yaml
# Using comp_type5
# playbook
Expand Down Expand Up @@ -163,4 +163,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
1 change: 0 additions & 1 deletion docs/default_cliconf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

1 change: 0 additions & 1 deletion docs/default_netconf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

1 change: 0 additions & 1 deletion docs/enable_become.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/grpc_config_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Examples
.. code-block:: yaml
- name: Merge static route config
ansible.netcommon.grpc_config:
config:
Expand Down Expand Up @@ -295,4 +295,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
1 change: 0 additions & 1 deletion docs/grpc_connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -510,4 +510,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/grpc_get_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Examples

.. code-block:: yaml
- name: Get bgp configuration data
grpc_get:
section:
Expand Down Expand Up @@ -227,4 +227,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/hash_salt_filter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Examples

.. code-block:: yaml
# Using hash_salt
# playbook
Expand Down Expand Up @@ -128,4 +128,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

1 change: 0 additions & 1 deletion docs/httpapi_connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -665,4 +665,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

2 changes: 0 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,3 @@ Netconf Plugins
~~~~~~~~~~~~~~~

* `default netconf <default_netconf.rst>`_ -- Use default netconf plugin to run standard netconf commands as per RFC


1 change: 0 additions & 1 deletion docs/libssh_connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -587,4 +587,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
1 change: 0 additions & 1 deletion docs/memory_cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/net_get_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Examples
.. code-block:: yaml
- name: copy file from the network device to Ansible controller
ansible.netcommon.net_get:
src: running_cfg_ios1.txt
Expand Down Expand Up @@ -151,4 +151,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
3 changes: 1 addition & 2 deletions docs/net_ping_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Examples
.. code-block:: yaml
- name: Test reachability to 10.10.10.10 using default vrf
ansible.netcommon.net_ping:
dest: 10.10.10.10
Expand Down Expand Up @@ -278,4 +278,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
3 changes: 1 addition & 2 deletions docs/net_put_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Examples

.. code-block:: yaml
- name: copy file from ansible controller to a network device
ansible.netcommon.net_put:
src: running_cfg_ios1.txt
Expand Down Expand Up @@ -171,4 +171,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/netconf_config_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ Examples
.. code-block:: yaml
- name: use lookup filter to provide xml configuration
ansible.netcommon.netconf_config:
content: "{{ lookup('file', './config.xml') }}"
Expand Down Expand Up @@ -645,4 +645,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
1 change: 0 additions & 1 deletion docs/netconf_connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -554,4 +554,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/netconf_get_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Examples
.. code-block:: yaml
- name: Get running configuration and state data
ansible.netcommon.netconf_get:
Expand Down Expand Up @@ -396,4 +396,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
3 changes: 1 addition & 2 deletions docs/netconf_rpc_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Examples
.. code-block:: yaml
- name: lock candidate
ansible.netcommon.netconf_rpc:
rpc: lock
Expand Down Expand Up @@ -290,4 +290,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
3 changes: 1 addition & 2 deletions docs/network_cli_connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Requirements
------------
The below requirements are needed on the local controller node that executes this connection.

- ansible-pylibssh if using \ :emphasis:`ssh\_type=libssh`\
- ansible-pylibssh if using \ :emphasis:`ssh\_type=libssh`\



Expand Down Expand Up @@ -883,4 +883,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
3 changes: 1 addition & 2 deletions docs/network_resource_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Examples

.. code-block:: yaml
- name: get list of resource modules for given network_os
ansible.netcommon.network_resource:
register: result
Expand Down Expand Up @@ -275,4 +275,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/parse_cli_filter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Examples

.. code-block:: yaml
# Using parse_cli
# outputConfig
Expand Down Expand Up @@ -203,4 +203,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/parse_cli_textfsm_filter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Examples

.. code-block:: yaml
# Using parse_cli_textfsm
- name: "Fetch command output"
Expand Down Expand Up @@ -160,4 +160,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/parse_xml_filter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Examples

.. code-block:: yaml
# Using parse_xml
# example_output.xml
Expand Down Expand Up @@ -235,4 +235,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

1 change: 0 additions & 1 deletion docs/persistent_connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/pop_ace_filter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Examples
.. code-block:: yaml
## Playbook with filter plugin example
vars:
filter_options:
Expand Down Expand Up @@ -1210,4 +1210,3 @@ Collection links
* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__
3 changes: 1 addition & 2 deletions docs/restconf_config_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Examples

.. code-block:: yaml
- name: create l3vpn services
ansible.netcommon.restconf_config:
path: /config/ietf-l3vpn-svc:l3vpn-svc/vpn-services
Expand Down Expand Up @@ -218,4 +218,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/restconf_get_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Examples

.. code-block:: yaml
- name: get l3vpn services
ansible.netcommon.restconf_get:
path: /config/ietf-l3vpn-svc:l3vpn-svc/vpn-services
Expand Down Expand Up @@ -174,4 +174,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

1 change: 0 additions & 1 deletion docs/restconf_httpapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/telnet_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Examples

.. code-block:: yaml
- name: send configuration commands to IOS
ansible.netcommon.telnet:
user: cisco
Expand Down Expand Up @@ -321,4 +321,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

3 changes: 1 addition & 2 deletions docs/type5_pw_filter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Examples

.. code-block:: yaml
# Using type5_pw
- name: Set some facts
Expand Down Expand Up @@ -139,4 +139,3 @@ Collection links

* `Issue Tracker <https://github.com/ansible-collections/ansible.netcommon/issues>`__
* `Repository (Sources) <https://github.com/ansible-collections/ansible.netcommon>`__

Loading

0 comments on commit 1be768f

Please sign in to comment.