[英]Is there a way to invoke ansible playbook from Jenkins when ansible is running on a remote server
我在服務器 1 上運行 ansible 引擎,在服務器 2 上運行 Jenkins。 有沒有辦法使用任何插件從 Jenkins 服務器執行劇本。
您可以使用 SSH 從 Server2 (Jenkins) 登錄到 Server1(Ansible) 並執行 ansible 命令嗎? 或者可以將 Server1(Ansible) 轉換為 Jenkins Slave,將其與 Jenkins (Server2) 連接並將您的作業配置為在安裝了 ansible 的 Server1 上運行。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.