mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-29 19:50:25 -07:00
[PR #10029/73178e3d backport][stable-10] fixed hidden warnings from extra tests - batch 3 (#10045)
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>
(cherry picked from commit 73178e3d33
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
9dd7be05dc
commit
42aeeb975b
5 changed files with 7 additions and 8 deletions
|
@ -124,7 +124,7 @@ EXAMPLES = r"""
|
|||
server: irc.example.net
|
||||
use_tls: true
|
||||
validate_certs: true
|
||||
channel: #t1
|
||||
channel: '#t1'
|
||||
msg: Hello world
|
||||
|
||||
- name: Send a message to an IRC channel
|
||||
|
@ -134,7 +134,7 @@ EXAMPLES = r"""
|
|||
server: irc.example.net
|
||||
use_tls: true
|
||||
validate_certs: true
|
||||
channel: #t1
|
||||
channel: '#t1'
|
||||
msg: 'All finished at {{ ansible_date_time.iso8601 }}'
|
||||
color: red
|
||||
nick: ansibleIRC
|
||||
|
@ -146,7 +146,7 @@ EXAMPLES = r"""
|
|||
server: irc.example.net
|
||||
use_tls: true
|
||||
validate_certs: true
|
||||
channel: #t1
|
||||
channel: '#t1'
|
||||
nick_to:
|
||||
- nick1
|
||||
- nick2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue