-
Notifications
You must be signed in to change notification settings - Fork 12
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
Role: cisco.nac_dc_vxlan.dtc.create/deploy - Inventory #3
Comments
In https://github.com/netascode/ansible-dc-vxlan/blob/main/roles/dtc/common/templates/ndfc_inventory.j2, line 7 for The update looks like this now: |
@vjoshevs I have added additional information to this issue. Note that I removed the molecule and documentation step because I am not convinced that we need molecule testing for these roles and we will need to create a separate task to document the various roles and how they function |
@mikewiebe for the deploy param, that isn't in the config element of the module. I had put that param in the task directly. Do you think we move it to the jinja template though and things are kept cleanly separated that way, i.e. only config element vs other params? Fine either way; just wanted to bring up. |
That's a good point. Let's leave it out of the jinja2 template for now and just change it in the task to See @vjoshevs we might also need to default |
@mikewiebe do we still have a task on this, as I think this we close it when we close the creation task ? |
We can close this issue as it was handled with the create issue |
Role Entry Point: https://github.com/netascode/ansible-dc-vxlan/blob/main/roles/dtc/create/tasks/ndfc/main.yml#L19
Role should make use of the following NDFC Ansible Collection dcnm_inventory
Note: It would be best if this issue was worked with the complimentary
remove
issue for inventoryRole development should include all of the following:
deploy
parameter and hard code it tofalse
max_hops
hard coded to 0preserve_config
hard coded tofalse
(Only supporting greenfield for now)cisco.nac_dc_vxlan.dtc.create
in reality should only add the devices to the fabric but notdeploy
the configuration to the device. We added adeploy
option to the module so add this to the jinja2 template and default tofalse
and verify that object for the device is added in the fabric but configuration (based on role) is not pushed to the device. Currently we add and deploy the configuration using thecreate
role.cisco.nac_dc_vxlan.dtc.deploy
role to verify configuration is set to the device based on role type.auth_proto
androle
are rejected after the object is created in NDFCThe text was updated successfully, but these errors were encountered: