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

Create a VMware connection plugin #43428

Closed
dagwieers opened this issue Jul 30, 2018 · 13 comments
Closed

Create a VMware connection plugin #43428

dagwieers opened this issue Jul 30, 2018 · 13 comments
Labels
affects_2.7 This issue/PR affects Ansible v2.7 bot_closed c:module_utils/vmware cloud collection:ansible.vmware_rest collection:community.vmware collection Related to Ansible Collections work deprecated This issue/PR relates to a deprecated module. feature This issue/PR relates to a feature request. has_pr This issue has an associated PR. module_utils/vmware module This issue/PR relates to a module. needs_collection_redirect https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md support:community This issue/PR relates to code supported by the Ansible community. vmware VMware community

Comments

@dagwieers
Copy link
Contributor

dagwieers commented Jul 30, 2018

SUMMARY

Nowadays we are moving towards connection plugins and inventory-based connection information.

This would have a few benefits:

  • Connection information is stored in the inventory (cleaner)
  • Modules no longer require repeated connection-parameters when called (cleaner)
  • The connection is made to persist over tasks (more efficient)
  • The connection can survive network-related issues without affecting playbook run (reliable)
  • Facts gathering would be supported (so a set of standard facts could be exposed to playbooks)
  • Additional connection-related features (e.g. proxy-support) could be supported VMware: Proxy support for vmware connection #42221

PS This is not the same as the VMware VM connection plugin discussed in #38648

The inventory would look like:

all:
    vcenter01:
        ansible_host: 10.1.2.1
        ansible_connection: vmware
        ansible_user: admin
        ansible_password: SuperSecret
        proxy_env:
          http_proxy: http://proxy.example.com:8080

And a typical playbook would be like:

- hosts: vcenter01
  tasks:
  - vmware_datacenter:
      datacenter: dc01
      state: present

  - vmware_cluster:
      datacenter: dc01
      cluster: cl01
      enable_ha: yes
      enable_drs: yes
      enable_vsan: yes
      state: present
ISSUE TYPE
  • Feature Idea
COMPONENT NAME

VMware modules

ANSIBLE VERSION

v2.8

@dagwieers dagwieers added this to the 2.8.0 milestone Jul 30, 2018
@ansibot
Copy link
Contributor

ansibot commented Jul 30, 2018

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Jul 30, 2018

@ansibot ansibot added affects_2.7 This issue/PR affects Ansible v2.7 cloud feature This issue/PR relates to a feature request. module This issue/PR relates to a module. support:community This issue/PR relates to code supported by the Ansible community. labels Jul 30, 2018
@Akasurde
Copy link
Member

Also, #43084

@dagwieers
Copy link
Contributor Author

@Akasurde #43084 relates to #38648, which is about having a connection plugin to connect to individual VMs. This PR is about having a connection plugin to connect to vCenter, similar to #36100

@ansibot
Copy link
Contributor

ansibot commented Nov 25, 2018

cc @ckotte
click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Feb 17, 2019

@ansibot
Copy link
Contributor

ansibot commented Feb 25, 2019

@ansibot
Copy link
Contributor

ansibot commented May 8, 2019

cc @goneri
click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Jun 1, 2019

@ansibot ansibot added the has_pr This issue has an associated PR. label Jul 27, 2019
@ansibot
Copy link
Contributor

ansibot commented Sep 17, 2019

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Sep 17, 2019

cc @n3pjk
click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Mar 26, 2020

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibot ansibot added the deprecated This issue/PR relates to a deprecated module. label Mar 26, 2020
@ansibot ansibot added collection Related to Ansible Collections work collection:ansible.vmware_rest labels Apr 29, 2020
@ansibot ansibot added collection:community.vmware needs_collection_redirect https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md labels Apr 29, 2020
@ansibot ansibot added the needs_triage Needs a first human triage before being processed. label May 16, 2020
@ansibot
Copy link
Contributor

ansibot commented Aug 15, 2020

Thank you very much for your interest in Ansible. Ansible has migrated much of the content into separate repositories to allow for more rapid, independent development. We are closing this issue/PR because this content has been moved to one or more collection repositories.

For further information, please see:
https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md

@ansibot ansibot closed this as completed Aug 15, 2020
@sivel sivel removed the needs_triage Needs a first human triage before being processed. label Aug 17, 2020
@ansible ansible locked and limited conversation to collaborators Sep 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.7 This issue/PR affects Ansible v2.7 bot_closed c:module_utils/vmware cloud collection:ansible.vmware_rest collection:community.vmware collection Related to Ansible Collections work deprecated This issue/PR relates to a deprecated module. feature This issue/PR relates to a feature request. has_pr This issue has an associated PR. module_utils/vmware module This issue/PR relates to a module. needs_collection_redirect https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md support:community This issue/PR relates to code supported by the Ansible community. vmware VMware community
Projects
None yet
Development

No branches or pull requests

5 participants