# \[23.5.1\] How to add a custom logo in AWX from the CLI?

**URL:** <https://forum.ansible.com/t/23-5-1-how-to-add-a-custom-logo-in-awx-from-the-cli/2673>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [November 30, 2023, 2:27pm UTC](https://forum.ansible.com/t/23-5-1-how-to-add-a-custom-logo-in-awx-from-the-cli/2673 "2023-11-30T14:27:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![actionmystique](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/actionmystique/32/1678_2.png) [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Post date:** [November 30, 2023, 2:27pm UTC](https://forum.ansible.com/t/23-5-1-how-to-add-a-custom-logo-in-awx-from-the-cli/2673/1 "2023-11-30T14:27:47Z")

</div>

Latest AWX 23.5.1 has been built using docker compose as described [here](https://github.com/ansible/awx/blob/devel/tools/docker-compose/README.md).

I am aware that it is possible to add a custom logo from the [GUI](https://docs.ansible.com/automation-controller/latest/html/administration/custom_rebranding.html).

But I could not find a way to add custom logos from the CLI with this version as it used to be possible:

- either by copying some favicon/logo-header/logo-login files into `git-awx/awx/ui/public/static/media` **before** building the containers
- or by copying a `custom_console_logo.png` into the `/var/lib/awx/public/static/assets/` directory of the container obviously **after** it has been built

What is the current way to add such assets to AWX using the CLI now?

#awx

---

<div class="post-metadata">

**Author:** ![TheRealHaoLiu](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/therealhaoliu/32/100_2.png) [@TheRealHaoLiu](https://forum.ansible.com/u/TheRealHaoLiu)\
**Post date:** [December 6, 2023, 7:49pm UTC](https://forum.ansible.com/t/23-5-1-how-to-add-a-custom-logo-in-awx-from-the-cli/2673/2 "2023-12-06T19:49:27Z")

</div>

I don’t think we support configuring custom logo via `awx` CLI

---

<div class="post-metadata">

**Author:** ![actionmystique](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/actionmystique/32/1678_2.png) [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Post date:** [December 7, 2023, 9:06am UTC](https://forum.ansible.com/t/23-5-1-how-to-add-a-custom-logo-in-awx-from-the-cli/2673/3 "2023-12-07T09:06:58Z")

</div>

I have already found a way around by copying it into `/var/lib/awx/public/static`, `/awx_devel/awx/ui/build/static` and `/awx_devel/awx/ui/public/static` folders once tools\_awx\_1 has been created.  
It’s probably overkill though.

---

<div class="post-metadata">

**Author:** ![bottkars](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bottkars/32/4414_2.png) [@bottkars](https://forum.ansible.com/u/bottkars)\
**Post date:** [August 12, 2024, 10:46am UTC](https://forum.ansible.com/t/23-5-1-how-to-add-a-custom-logo-in-awx-from-the-cli/2673/4 "2024-08-12T10:46:59Z")

</div>

You can use /api/v2/settings/ui

Simply PUT/PATCH with  
{  
“CUSTOM\_LOGO”: “data:image/png;base64,\<your base 64 decoded image\>”  
}

Example using awx.awx.settings from ansible

- name: Set the Custom Logo  
settings:  
name: CUSTOM\_LOGO  
value: “data:image/png;base64,\<your base 64 decoded Image\>”
