morbidick.semaphore

Ansible UI Semaphore

Ansibleの役割として、Ansible UI Semaphoreをインストールおよび設定します。

要件

特にありません。ただし、プロダクション環境では、SSLターミネーション用のプロキシとしてウェブサーバーをインストールすることをお勧めします。

サンプルプレイブック

- hosts: all
  become: yes

  roles:
  - semaphore

  vars:
    semaphore_addn_config:
      email_alert: true
      email_sender: "semaphore@example.com"

既存のデータベース/MariaDBの使用

semaphore_mysql_install: falseを設定し、semaphore_mysql_*の認証情報を提供してください。

役割変数

以下の変数は必須ではありません。

変数 デフォルト コメント
semaphore_version v2.8.77 ダウンロードするバージョン、semaphore_download_urlおよびsemaphore_download_checksumも参照
semaphore_mysql_install true ホストにMySQLをインストールするかどうか、パスワードはmysql_root_password
semaphore_mysql_create_db true MySQLデータベースとユーザーを作成するか
semaphore_mysql_host:semaphore_mysql_port 127.0.0.1:3306 MySQLホスト
semaphore_mysql_db semaphore MySQLデータベース
semaphore_mysql_user semaphore MySQLユーザー
semaphore_mysql_password semaphore MySQLユーザーパスワード
semaphore_user semaphore semaphoreが実行するユーザーおよびsystemdの識別子
semaphore_port 3000 semaphoreがバインドするポート
semaphore_path /opt/semaphore バイナリの保存先
semaphore_addn_config {} すべてのオプションについてはソースを参照
semaphore_config_path /etc/semaphore/semaphore.json 設定ファイル
semaphore_default_user admin デフォルトユーザーのログイン名
semaphore_default_user_name semaphore_default_user 人間に読みやすい名前
semaphore_default_user_password admin パスワード
semaphore_default_user_mail admin@example.com メールアドレス

すべてのオプションについてはdefaults/main.ymlを参照してください。

デモ/開発

Moleculeはテストに使用され、CentOSマシンのWebインターフェースが公開され、デモとして使用できます。

  • molecule convergeを実行します
  • ブラウザで127.0.0.1:3000を開きます
  • ユーザー名とパスワードadminでログインします。

ライセンス

MIT

プロジェクトについて

install and configure the Ansible UI Semaphore

インストール
ansible-galaxy install morbidick.semaphore
ライセンス
Unknown
ダウンロード
835
所有者
mostly web dev, freelancer with @madways