mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-09 23:00:02 -07:00
Creates a VMware vSwitch We have an end-to-end playbook that performs bare metal provisioning and configuration of vSphere. The playbooks/tasks and results from that testing is what will be listed in this PR. If there are any questions please let either @jcpowermac or @mtnbikenc know. Tested with version ``` $ ansible-playbook --version ansible-playbook 1.9.2 configured module search path = None ``` Associated tasks used for testing below ``` - name: Add a temporary vSwitch local_action: module: vmware_vswitch hostname: "{{ inventory_hostname }}" username: "{{ esxi_username }}" password: "{{ site_passwd }}" switch_name: temp_vswitch nic_name: "{{ vss_vmnic }}" mtu: 9000 ``` Verbose testing output and results ``` TASK: [Configure ESXi hostname and DNS servers] ******************************* <127.0.0.1> REMOTE_MODULE vmware_dns_config password=VALUE_HIDDEN hostname=foundation-esxi-01 change_hostname_to=cscesxtmp001 domainname=lordbusiness.local dns_servers=192.168.70.3,192.168.70.4 username=root <127.0.0.1> REMOTE_MODULE vmware_dns_config password=VALUE_HIDDEN hostname=foundation-esxi-02 change_hostname_to=cscesxtmp002 domainname=lordbusiness.local dns_servers=192.168.70.3,192.168.70.4 username=root <127.0.0.1> REMOTE_MODULE vmware_dns_config password=VALUE_HIDDEN hostname=foundation-esxi-03 change_hostname_to=cscesxtmp003 domainname=lordbusiness.local dns_servers=192.168.70.3,192.168.70.4 username=root changed: [foundation-esxi-01 -> 127.0.0.1] => {"changed": true} changed: [foundation-esxi-03 -> 127.0.0.1] => {"changed": true} changed: [foundation-esxi-02 -> 127.0.0.1] => {"changed": true} ``` |
||
---|---|---|
.. | ||
cloud | ||
clustering | ||
commands | ||
database | ||
files | ||
messaging | ||
monitoring | ||
network | ||
notification | ||
packaging | ||
source_control | ||
system | ||
web_infrastructure | ||
windows | ||
.travis.yml | ||
__init__.py | ||
CONTRIBUTING.md | ||
COPYING | ||
README.md | ||
REVIEWERS.md | ||
test-docs.sh | ||
VERSION |
ansible-modules-core
This repo is transitional and not yet enabled. Do not send issues or pull requests here yet.
The goal is to split library/ from ansible into git submodules.
Reporting bugs
Take care to submit tickets to the appropriate repo where modules are contained. The repo is mentioned at the bottom of modlue documentation page at docs.ansible.com.
Testing modules
Ansible module development guide contains the latest info about that.
License
As with Ansible, modules distributed with Ansible are GPLv3 licensed. User generated modules not part of this project can be of any license.
Installation
There should be no need to install this repo separately as it should be included in any Ansible install using the official documented methods.