SemaphoreUI¶
What is it?¶
Semaphore UI is a modern UI for Ansible, Terraform, OpenTofu and Pulumi. It lets you easily run Ansible playbooks, get notifications about fails, control access to deployment system.
If your project has grown and deploying from the terminal is no longer for you then Semaphore UI is what you need.
Details | |||
---|---|---|---|
Project home | Docs | Github | Docker |
1. Installation¶
sb install sandbox-semaphoreui
2. URL¶
- To access the Semaphore UI dashboard, visit
https://semaphoreui._yourdomain.com_
3. Setup¶
4. Additional Settings¶
The default installation utilises a seperate postgres database. There is an option for this package to utilise mariadb / mysql but this isnt what this guide will be based on.
To enable email notifications, set these inventory entries to your desired values:
Semaphoreui Email Settings
SEMAPHORE_EMAIL_ALERT: "true" # (1)!
SEMAPHORE_EMAIL_SENDER: "" # (2)!
SEMAPHORE_EMAIL_HOST: "localhost" # (3)!¿˘˘˘˘˘˘˘˘˘¿¿˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘˘
SEMAPHORE_EMAIL_PORT: "25" # (4)!¿˘˘˘˘˘˘
SEMAPHORE_EMAIL_USERNAME: "" # (5)!
SEMAPHORE_EMAIL_PASSWORD: "" # (6)!
SEMAPHORE_EMAIL_SECURE: "" # (7)!
- Flag which enables email alerts. Can be
true
or 'false
. - The email address you want to send to. Replace
""
with the email address you want to send to - Replace
localhost
with your email host. IE:smtp-relay.gmail.com
- Replace
25
with your email port. IE:587
- Replace
""
with your email username if necessary. - Replace
""
with your email password if necessary. - Use
SSL
orTLS
for communication with the SMTP server. Can betrue
or 'false
.
Semaphoreui Telgram Settings
SEMAPHORE_TELEGRAM_ALERT: "" # (1)!
SEMAPHORE_TELEGRAM_CHAT: "" # (2)!
SEMAPHORE_TELEGRAM_TOKEN: "" # (3)!
- Flag which enables telegram alerts. Can be
true
or 'false
. - The chat id of which you want to send the message to
- Your Telegram bot token
Semaphoreui Telgram Settings
SEMAPHORE_SLACK_ALERT: "" # (1)!
SEMAPHORE_SLACK_URL: "" # (2)!
- Flag which enables telegram alerts. Can be
true
or 'false
. - Your slack URL
Redeploy the Semaphoreui role to apply any of the above changes.