mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Inline array in example (#19055)
This commit is contained in:
parent
3fa1ddc9db
commit
503f4c48db
1 changed files with 11 additions and 9 deletions
|
@ -119,25 +119,27 @@ author:
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
- irc:
|
- irc:
|
||||||
server: irc.example.net
|
server: irc.example.net
|
||||||
channel: "#t1"
|
channel: #t1
|
||||||
msg: "Hello world"
|
msg: Hello world
|
||||||
|
|
||||||
- local_action:
|
- local_action:
|
||||||
module: irc
|
module: irc
|
||||||
port: 6669
|
port: 6669
|
||||||
server: "irc.example.net"
|
server: irc.example.net
|
||||||
channel: "#t1"
|
channel: #t1
|
||||||
msg: "All finished at {{ ansible_date_time.iso8601 }}"
|
msg: 'All finished at {{ ansible_date_time.iso8601 }}'
|
||||||
color: red
|
color: red
|
||||||
nick: ansibleIRC
|
nick: ansibleIRC
|
||||||
|
|
||||||
- local_action:
|
- local_action:
|
||||||
module: irc
|
module: irc
|
||||||
port: 6669
|
port: 6669
|
||||||
server: "irc.example.net"
|
server: irc.example.net
|
||||||
channel: "#t1"
|
channel: #t1
|
||||||
nick_to: ["nick1", "nick2"]
|
nick_to:
|
||||||
msg: "All finished at {{ ansible_date_time.iso8601 }}"
|
- nick1
|
||||||
|
- nick2
|
||||||
|
msg: 'All finished at {{ ansible_date_time.iso8601 }}'
|
||||||
color: red
|
color: red
|
||||||
nick: ansibleIRC
|
nick: ansibleIRC
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue