1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-09 05:27:17 +00:00

arg_spec adjustments: modules [o-s]* (#10512)

* arg_spec adjustments: modules [o-s]*

* add changelog frag
This commit is contained in:
Alexei Znamensky 2025-08-01 08:46:32 +12:00 committed by GitHub
parent 5601ef4c57
commit 3bb7a77b14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 210 additions and 205 deletions

View file

@ -114,12 +114,12 @@ def main():
module = AnsibleModule(
argument_spec=dict(
api_key=dict(type='str', required=True, no_log=True),
channel=dict(type='str', default=None),
device=dict(type='str', default=None),
channel=dict(type='str'),
device=dict(type='str'),
push_type=dict(type='str', default="note", choices=['note', 'link']),
title=dict(type='str', required=True),
body=dict(type='str', default=None),
url=dict(type='str', default=None),
body=dict(type='str'),
url=dict(type='str'),
),
mutually_exclusive=(
['channel', 'device'],