[ansible] ansibleui semaphore安装

 

项目地址:

https://github.com/ansible-semaphore/semaphore

 

安装: 参考项目GitHub的wiki

Dependencies

MySQL >= 5.6.4/MariaDB >= 5.3

ansible in $PATH

git >= 2.x in $PATH #这个默认yum安装即可

Dependency installation with Docker(使用dockermysql)

docker run -d --name=mysql -p 127.0.0.1:3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql

物理机 yum install mysql –y #然后连接mysql创建数据库semaphore,并授权给用户semaphore.

Install instructions(二进制包安装)

  1. Copy download link for your OS from Releases page
  2. (linux) curl -L > /usr/bin/semaphore #下载二进制包,下载semaphore命令

curl -L https://github.com/ansible-semaphore/semaphore/releases/download/v2.2.0/semaphore_linux_amd64 /usr/bin/semaphore

  1. Run semaphore -setup #这个命令比较关键,运行完成安装

    [ansible] ansibleui semaphore安装_第1张图片

    [ansible] ansibleui semaphore安装_第2张图片

    运行:

[root@node1 ~]# cd /usr/bin/

[root@node1 bin]# nohup ./semaphore -config /tmp/semaphore/semaphore_config.json &

[ansible] ansibleui semaphore安装_第3张图片

https://IP:3000访问

 

[ansible] ansibleui semaphore安装_第4张图片

说实话这jb真的不太好用.费劲搭建了下.

你可能感兴趣的:([ansible] ansibleui semaphore安装)