• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

cloudmaniac/ansible-deploy-vmware-vm: Deploy multiple VMware VM with Ansible vmw ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

cloudmaniac/ansible-deploy-vmware-vm

开源软件地址:

https://github.com/cloudmaniac/ansible-deploy-vmware-vm

开源编程语言:


开源软件介绍:

Deploy Multiple VMware VM with Ansible

Description

Playbook and role to deploy multiple vSphere virtual machines from a template using Ansible. For more information, you can refer to the related blog post.

Requirements

  • Python (≥ 2.6)
  • Ansible
  • PyVmomi

Configuration

The required files are:

├── ansible.cfg
├── answerfile.yml
├── deploy-kubernetes-prod.yml
├── roles
│   └── deploy-vsphere-template
│       └── tasks
│           └── main.yml
└── vms-to-deploy
  1. Edit the vms-to-deploy file to define the number of virtual machines you want to deploy, as well as their names, datastore, IP and notes.
  2. Edit the answerfile.yml file to set the correct parameter for
    • the infrastructure (where to deploy)
    • the common options for the virtual machines
  3. (optional) Edit the role.

Note: Uncomment the #resource_pool: '{{ deploy_vsphere_resourcepool }}' line in the roles/deploy-vsphere-template/tasks/main.yml file to deploy the virtual machines in a specific resource pool; don't forget to reflect your resource pool name in the answerfile.yml.

Execution

ansible-playbook -i vms-to-deploy deploy-kubernetes-prod.yml

Enjoy! :)




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
airtonix/ansible-django: django playbook发布时间:2022-04-05
下一篇:
atom/toggle-quotes: An Atom package to toggle between single and double quotes发布时间:2022-04-07
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap