ansible-opsworks:在 AWS Opsworks 中使用 Ansible 而不是 Chef

时间:2021-06-30 02:34:21
【文件属性】:
文件名称:ansible-opsworks:在 AWS Opsworks 中使用 Ansible 而不是 Chef
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-30 02:34:21
Ruby ansible-opsworks 食谱是厨师“包装器”,用于从 opsworks 启动 ansible playbook。 Opsworks 有 5 个生命周期事件,它们在实例构建的不同阶段运行 ( ) 设置 配置 部署 取消部署 关机 每个生命周期事件都将在远程实例(如果存在)上的 /home/ec2-user/ansbile 中运行相应的剧本。 设置文件 配置文件 部署.yml 取消部署.yml 关机.yml Opsworks 默认( )和自定义( ) json 也传递给 ansible playbooks。 要访问 opsworks 默认 json,请参考 jinja2 中的 {{ opsworks.xxxxx }}。 如果您想将自定义 json 传递给您的 ansible 模板,您必须在您的自定义 json 定义中使用“ansible”键。 请注意,“环境”
【文件预览】:
ansible-opsworks-master
----LICENSE.md(10KB)
----README.md(1KB)
----Berksfile(145B)
----metadata.rb(314B)
----recipes()
--------setup.rb(1KB)
--------deploy.rb(733B)
--------undeploy.rb(735B)
--------configure.rb(736B)
--------shutdown.rb(735B)

网友评论