# Ansible mattermost custom icon\_url

**URL:** <https://forum.ansible.com/t/ansible-mattermost-custom-icon-url/32682>\
**Category:** Ansible Project\
**Created:** [April 14, 2020, 5:02pm UTC](https://forum.ansible.com/t/ansible-mattermost-custom-icon-url/32682 "2020-04-14T17:02:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael3](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@Michael3](https://forum.ansible.com/u/Michael3)\
**Post date:** [April 14, 2020, 5:02pm UTC](https://forum.ansible.com/t/ansible-mattermost-custom-icon-url/32682/1 "2020-04-14T17:02:34Z")

</div>

According to the [Ansible mattermost module documentation](https://docs.ansible.com/ansible/latest/modules/mattermost_module.html); the mattermost message sender’s icon is a url that defaults to the redhat icon. It can be customized but a url to the to the image needed should be provided.

I didn’t think this made sense but i’m hoping that i can find some helpful explanation as to how i can use my custom emoji 📢 without having to upload any images to anywhere and define permissions to the image.

Example from the Ansible website:

```auto
- name: Send notification message via Mattermost all options
  mattermost:
    url: http://mattermost.example.com
    api_key: my_api_key
    text: '{{ inventory_hostname }} completed'
    channel: notifications
    username: 'Ansible on {{ inventory_hostname }}'
    icon_url: http://www.example.com/some-image-file.png

Thanks in advance!!

```
