morbidick.semaphore
Ansible UI Semaphore
Ansible role to set up and configure Ansible UI Semaphore.
Requirements
None. However, in a production setup, it's a good idea to install a web server to handle SSL termination.
Example Playbook
- hosts: all
become: yes
roles:
- semaphore
vars:
semaphore_addn_config:
email_alert: true
email_sender: "[email protected]"
Using an Existing Database/MariaDB
To use an existing database, set semaphore_mysql_install: false
and provide the necessary credentials with semaphore_mysql_*
.
Role Variables
None of these variables are mandatory.
Variable | Default | Description |
---|---|---|
semaphore_version |
v2.8.77 |
The version to download. See also semaphore_download_url and semaphore_download_checksum . |
semaphore_mysql_install |
true |
If true, installs MySQL on the host with the password mysql_root_password . |
semaphore_mysql_create_db |
true |
If true, creates the MySQL database and user. |
semaphore_mysql_host:semaphore_mysql_port |
127.0.0.1:3306 |
The MySQL host and port. |
semaphore_mysql_db |
semaphore | The MySQL database name. |
semaphore_mysql_user |
semaphore | The MySQL user name. |
semaphore_mysql_password |
semaphore | The password for the MySQL user. |
semaphore_user |
semaphore | The user that Semaphore runs as, also used for systemd. |
semaphore_port |
3000 |
The port Semaphore listens on. |
semaphore_path |
/opt/semaphore | The location for the binary. |
semaphore_addn_config |
{} |
Additional configuration options. See the source for details. |
semaphore_config_path |
/etc/semaphore/semaphore.json | The path to the config file. |
semaphore_default_user |
admin | Login name for the default user. |
semaphore_default_user_name |
semaphore_default_user |
The human-readable name for the default user. |
semaphore_default_user_password |
admin | The password for the default user. |
semaphore_default_user_mail |
admin@example.com | The email address for the default user. |
For all options, see defaults/main.yml.
Demo/Development
Molecule is used for testing. The web interface of the CentOS machine will be accessible for demo purposes.
- Run
molecule converge
. - Open your browser at 127.0.0.1:3000.
- Log in with the username and password
admin
.
License
MIT
Informazioni sul progetto
install and configure the Ansible UI Semaphore
Installa
ansible-galaxy install morbidick.semaphore
Licenza
Unknown
Download
835
Proprietario
mostly web dev, freelancer with @madways