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

Infra Host Support for Ansible V2 #53

Open
wants to merge 4 commits into
base: v2
Choose a base branch
from

Conversation

unasra
Copy link
Collaborator

@unasra unasra commented Dec 11, 2024

No description provided.

Comment on lines +3 to +6
#TODO: add tests
# The following require additional plugins to be supported.
# - internal_secondaries
# - nsgs
Copy link
Collaborator

Choose a reason for hiding this comment

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

incorrect comment?

pass # Handled by BloxoneAnsibleModule


class HostsModule(BloxoneAnsibleModule):
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: should be HostModule? Also, i am thinking if it should be InfraHostModule, since we also have dns host, dhcp host, etc.

Suggested change
class HostsModule(BloxoneAnsibleModule):
class HostModule(BloxoneAnsibleModule):

tags: run
# Create an Ip Space
- name: "Create an IP space"
tags: run
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is this tag required?

csp_url: "{{ csp_url }}"
api_key: "{{ api_key }}"
block:
# Create a random View name to avoid conflicts
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
# Create a random View name to avoid conflicts
# Create a random IP Space name to avoid conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants