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

vmware_host: Small fixes and docs updates #25144

Merged
merged 2 commits into from
Jul 24, 2017

Conversation

dagwieers
Copy link
Contributor

@dagwieers dagwieers commented May 29, 2017

SUMMARY

This PR includes:

  • A fix to no longer require a datacenter folder for adding a host
  • Documentation improvements
  • Ensure imports are specific

This fixes #26326 (actually it includes @Akasurde 's changes too, see log below)

Fix adds following:

  • Update logic in vmware_host
  • Update example documentation
  • Added test case for vmware_host

Signed-off-by: Abhijeet Kasurde [email protected]

ISSUE TYPE
  • Bugfix Pull Request
  • Docs Pull Request
COMPONENT NAME

vmware_host

ANSIBLE VERSION

v2.4

@ansibot
Copy link
Contributor

ansibot commented May 29, 2017

@ansibot ansibot added affects_2.4 This issue/PR affects Ansible v2.4 bugfix_pull_request cloud community_review In order to be merged, this PR must follow the community review workflow. module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. vmware VMware community labels May 29, 2017
@bcoca bcoca removed the needs_triage Needs a first human triage before being processed. label May 31, 2017
@ansibot ansibot added stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. support:community This issue/PR relates to code supported by the Ansible community. labels Jun 23, 2017
This PR includes:
- A fix to no longer require a datacenter folder for adding a host
- Documentation improvements
- Ensure imports are specific
@ansibot ansibot added support:core This issue/PR relates to code supported by the Ansible Engineering Team. and removed community_review In order to be merged, this PR must follow the community review workflow. module This issue/PR relates to a module. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. labels Jul 7, 2017
@ansibot
Copy link
Contributor

ansibot commented Jul 18, 2017

@ansibot ansibot added community_review In order to be merged, this PR must follow the community review workflow. module This issue/PR relates to a module. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. labels Jul 18, 2017
@dagwieers dagwieers mentioned this pull request Jul 19, 2017
@ansibot ansibot added needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed community_review In order to be merged, this PR must follow the community review workflow. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. labels Jul 19, 2017
@dagwieers dagwieers force-pushed the vmware_host-fixes branch 2 times, most recently from e2ee031 to a48e643 Compare July 20, 2017 00:13
@dagwieers dagwieers force-pushed the vmware_host-fixes branch 6 times, most recently from c95f522 to b8b5d31 Compare July 20, 2017 00:22
@ansibot
Copy link
Contributor

ansibot commented Jul 20, 2017

click here for bot help

@@ -131,7 +140,10 @@ def process_state(self):

def find_host_by_cluster_datacenter(self):
self.dc = find_datacenter_by_name(self.content, self.datacenter_name)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if self.dc is None:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, that's the whole point of my PR, self.dc can be None !

state:
description:
- Add or remove the host.
choices: [absent, present]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent is required here and below line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I know, is a man allowed to sleep around here ? :-D

Fix adds following:
* Update logic in vmware_host
* Update example documentation
* Added test case for vmware_host

Signed-off-by: Abhijeet Kasurde <[email protected]>
Copy link
Member

@Akasurde Akasurde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ansibot ansibot added community_review In order to be merged, this PR must follow the community review workflow. and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Jul 20, 2017
@Akasurde
Copy link
Member

shipit

@jctanner jctanner merged commit a5eea90 into ansible:devel Jul 24, 2017
@ansibot ansibot added bug This issue/PR relates to a bug. and removed bugfix_pull_request labels Mar 6, 2018
@ansible ansible locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.4 This issue/PR affects Ansible v2.4 bug This issue/PR relates to a bug. cloud community_review In order to be merged, this PR must follow the community review workflow. module This issue/PR relates to a module. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team. vmware VMware community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants