mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -07:00
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:
parent
3ee55c6828
commit
73178e3d33
5 changed files with 7 additions and 8 deletions
|
@ -120,7 +120,7 @@ EXAMPLES = r"""
|
|||
community.general.btrfs_subvolume:
|
||||
name: /@
|
||||
snapshot_source: /
|
||||
default: Yes
|
||||
default: true
|
||||
filesystem_device: /dev/vda2
|
||||
|
||||
- name: Create a snapshot of the /@ subvolume and recursively creating intermediate subvolumes as required
|
||||
|
|
|
@ -85,7 +85,7 @@ EXAMPLES = r"""
|
|||
password: '9s36?;fyNp'
|
||||
owner: root
|
||||
group: www-data
|
||||
mode: 0640
|
||||
mode: '0640'
|
||||
|
||||
- name: Remove a user from a password file
|
||||
community.general.htpasswd:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue