According to the Ansible mattermost module documentation; 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:
- 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!!