Nginx 如何将ansible从bitbucket repo安装到目标主机?
如何从远程Nginx 如何将ansible从bitbucket repo安装到目标主机?,nginx,ansible,bitbucket,Nginx,Ansible,Bitbucket,如何从远程bitbucket存储库获取安装程序,然后在目标主机上进行安装 在本地网络(无internet连接)上,我有: Ansible位于Rhel 7虚拟机上 bitbucket位于Windows Server 2016虚拟机上 目标主机位于另一个Rhel 7虚拟机上 它们都可以通过SSH相互连接。您可以使用git模块将安装程序从git下载到控制器计算机。流程如下所示: controller machine: git: copy the installer using ssh pro
bitbucket
存储库获取安装程序,然后在目标主机上进行安装
在本地网络(无internet连接)上,我有:
位于Ansible
虚拟机上Rhel 7
位于bitbucket
虚拟机上Windows Server 2016
- 目标主机位于另一个
Rhel 7虚拟机上
它们都可以通过SSH相互连接。您可以使用git模块将安装程序从git下载到控制器计算机。流程如下所示:
controller machine:
git: copy the installer using ssh protocol
once the installer is on your local you can copy from controller to target
copy: from controller machine to target server
install: nginx
目标服务器
bitbucket-->repo您可以使用git模块将安装程序从git下载到控制器计算机。流程如下所示:
controller machine:
git: copy the installer using ssh protocol
once the installer is on your local you can copy from controller to target
copy: from controller machine to target server
install: nginx
目标服务器
比特桶-->回购