环境:gitlab 192.168.232.128

semaphore 192.168.232.156

 

1.创建工程

semaphore使用

点击+号,创建想要的工程名

 

2.创建秘钥

 

semaphore使用

semaphore使用

此处公钥需填写ansible所在服务器公钥

 

3.创建存储库

semaphore使用

semaphore使用

地址为gitlab或github地址

4.创建目录

semaphore使用

 

semaphore使用

 

目录填写ansible-playbookx想要部署到哪台机器上

如:test.yml内部署在主机test,在semaphore就需对应

 

semaphore使用

 

5.配置模板

semaphore使用

semaphore使用

相关文章:

  • 2022-01-05
  • 2021-11-10
  • 2022-01-26
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-23
  • 2021-08-08
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
相关资源
相似解决方案