1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Replace missing default favicon with docs.ansible.com favicon (#5928)

* replace missing default favicon with docs.ansible.com

* create changelog fragment for PR 5928

* move changelog fragment

* fix parameter description

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix parameter description

Co-authored-by: Felix Fontein <felix@fontein.de>

* add affected modules in changelog fragment

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Lars Krahl <lkr@mms-dresden.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Lars Krahl 2023-02-03 11:02:14 +01:00 committed by GitHub
parent 868699dc5f
commit a64df658c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 9 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- mattermost, rocketchat, slack - replace missing default favicon with docs.ansible.com favicon (https://github.com/ansible-collections/community.general/pull/5928).

View file

@ -60,8 +60,8 @@ options:
icon_url: icon_url:
type: str type: str
description: description:
- Url for the message sender's icon. - URL for the message sender's icon.
default: https://www.ansible.com/favicon.ico default: https://docs.ansible.com/favicon.ico
validate_certs: validate_certs:
description: description:
- If C(false), SSL certificates will not be validated. This should only be used - If C(false), SSL certificates will not be validated. This should only be used
@ -127,7 +127,7 @@ def main():
text=dict(type='str'), text=dict(type='str'),
channel=dict(type='str', default=None), channel=dict(type='str', default=None),
username=dict(type='str', default='Ansible'), username=dict(type='str', default='Ansible'),
icon_url=dict(type='str', default='https://www.ansible.com/favicon.ico'), icon_url=dict(type='str', default='https://docs.ansible.com/favicon.ico'),
validate_certs=dict(default=True, type='bool'), validate_certs=dict(default=True, type='bool'),
attachments=dict(type='list', elements='dict'), attachments=dict(type='list', elements='dict'),
), ),

View file

@ -58,7 +58,7 @@ options:
type: str type: str
description: description:
- URL for the message sender's icon. - URL for the message sender's icon.
default: "https://www.ansible.com/favicon.ico" default: "https://docs.ansible.com/favicon.ico"
icon_emoji: icon_emoji:
type: str type: str
description: description:
@ -212,7 +212,7 @@ def main():
msg=dict(type='str', required=False), msg=dict(type='str', required=False),
channel=dict(type='str'), channel=dict(type='str'),
username=dict(type='str', default='Ansible'), username=dict(type='str', default='Ansible'),
icon_url=dict(type='str', default='https://www.ansible.com/favicon.ico'), icon_url=dict(type='str', default='https://docs.ansible.com/favicon.ico'),
icon_emoji=dict(type='str'), icon_emoji=dict(type='str'),
link_names=dict(type='int', default=1, choices=[0, 1]), link_names=dict(type='int', default=1, choices=[0, 1]),
validate_certs=dict(default=True, type='bool'), validate_certs=dict(default=True, type='bool'),

View file

@ -81,8 +81,8 @@ options:
icon_url: icon_url:
type: str type: str
description: description:
- Url for the message sender's icon (default C(https://www.ansible.com/favicon.ico)) - URL for the message sender's icon (default C(https://docs.ansible.com/favicon.ico))
default: https://www.ansible.com/favicon.ico default: https://docs.ansible.com/favicon.ico
icon_emoji: icon_emoji:
type: str type: str
description: description:
@ -439,7 +439,7 @@ def main():
channel=dict(type='str'), channel=dict(type='str'),
thread_id=dict(type='str'), thread_id=dict(type='str'),
username=dict(type='str', default='Ansible'), username=dict(type='str', default='Ansible'),
icon_url=dict(type='str', default='https://www.ansible.com/favicon.ico'), icon_url=dict(type='str', default='https://docs.ansible.com/favicon.ico'),
icon_emoji=dict(type='str'), icon_emoji=dict(type='str'),
link_names=dict(type='int', default=1, choices=[0, 1]), link_names=dict(type='int', default=1, choices=[0, 1]),
parse=dict(type='str', choices=['none', 'full']), parse=dict(type='str', choices=['none', 'full']),

View file

@ -142,7 +142,7 @@ class TestSlackModule(ModuleTestCase):
}, },
'accessory': { 'accessory': {
'type': 'image', 'type': 'image',
'image_url': 'https://www.ansible.com/favicon.ico', 'image_url': 'https://docs.ansible.com/favicon.ico',
'alt_text': 'test' 'alt_text': 'test'
} }
}, { }, {