fixed hidden warnings from extra tests - batch 3 (#10029)

* fixed hidden warnings from extra tests - batch 3

* add empty lines to separate sections of the EXAMPLE block

* Apply suggestions from code review

* Update plugins/modules/nmcli.py

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Alexei Znamensky 2025-04-22 01:31:54 +12:00 committed by GitHub
parent 3ee55c6828
commit 73178e3d33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 8 deletions

View file

@ -1227,7 +1227,6 @@ EXAMPLES = r"""
# ```
## playbook-add.yml example
- hosts: openstack-stage
@ -1264,7 +1263,7 @@ EXAMPLES = r"""
with_items:
- '{{ nmcli_team_slave }}'
###### Working with all cloud nodes - Bonding
##### Working with all cloud nodes - Bonding
- name: Try nmcli add bond - conn_name only & ip4 gw4 mode
community.general.nmcli:
type: bond