Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Nginx 如何将ansible从bitbucket repo安装到目标主机?_Nginx_Ansible_Bitbucket - Fatal编程技术网

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
目标服务器

比特桶-->回购