Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/migrate esxi host inventory #91

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelogs/fragments/91-add-esxi_host-inventory.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- esxi_host - Added inventory plugin to gather info about ESXi hosts
40 changes: 40 additions & 0 deletions plugins/doc_fragments/plugin_base_options.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# -*- coding: utf-8 -*-

# Copyright: (c) 2016, Charles Paul <[email protected]>
# Copyright: (c) 2018, Ansible Project
# Copyright: (c) 2019, Abhijeet Kasurde <[email protected]>
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later

from __future__ import absolute_import, division, print_function
__metaclass__ = type


class ModuleDocFragment(object):
# This document fragment serves as a partial base for all vmware plugins. It should be used in addition to the base fragment, vmware.vmware.base_options
# since that contains the actual argument descriptions and defaults. This just defines the environment variables since plugins have something
# like the module spec where that is usually done.
DOCUMENTATION = r'''
options:
hostname:
env:
- name: VMWARE_HOST
username:
env:
- name: VMWARE_USER
password:
env:
- name: VMWARE_PASSWORD
validate_certs:
env:
- name: VMWARE_VALIDATE_CERTS
port:
env:
- name: VMWARE_PORT
proxy_host:
env:
- name: VMWARE_PROXY_HOST
proxy_port:
env:
- name: VMWARE_PROXY_PORT
'''
Loading
Loading