mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
2796370b57
commit
d815890aa6
1 changed files with 21 additions and 14 deletions
|
@ -113,22 +113,29 @@ author:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- irc: server=irc.example.net channel="#t1" msg="Hello world"
|
||||
- irc:
|
||||
server: irc.example.net
|
||||
channel: "#t1"
|
||||
msg: "Hello world"
|
||||
|
||||
- local_action: irc port=6669
|
||||
server="irc.example.net"
|
||||
channel="#t1"
|
||||
msg="All finished at {{ ansible_date_time.iso8601 }}"
|
||||
color=red
|
||||
nick=ansibleIRC
|
||||
- local_action:
|
||||
module: irc
|
||||
port: 6669
|
||||
server: "irc.example.net"
|
||||
channel: "#t1"
|
||||
msg: "All finished at {{ ansible_date_time.iso8601 }}"
|
||||
color: red
|
||||
nick: ansibleIRC
|
||||
|
||||
- local_action: irc port=6669
|
||||
server="irc.example.net"
|
||||
channel="#t1"
|
||||
nick_to=["nick1", "nick2"]
|
||||
msg="All finished at {{ ansible_date_time.iso8601 }}"
|
||||
color=red
|
||||
nick=ansibleIRC
|
||||
- local_action:
|
||||
module: irc
|
||||
port: 6669
|
||||
server: "irc.example.net"
|
||||
channel: "#t1"
|
||||
nick_to: ["nick1", "nick2"]
|
||||
msg: "All finished at {{ ansible_date_time.iso8601 }}"
|
||||
color: red
|
||||
nick: ansibleIRC
|
||||
'''
|
||||
|
||||
# ===========================================
|
||||
|
|
Loading…
Reference in a new issue