Skip to content

[Feature]: Module Defaults (group/netbox) #411

Closed
@FragmentedPacket

Description

@FragmentedPacket
ISSUE TYPE
  • Feature Idea
SUMMARY

Implement module_defaults to the NetBox collection.

The implementation required is within meta/runtime.yml with adding the action_groups keyword.

E.g.

---
action_groups:
  netbox:
    - netbox_device
    - netbox_ip_addresses
    - etc.

This should allow users to define module_defaults and supply the following in a playbook and then omit those parameters from the tasks themself:

---
- hosts: localhost
   module_defaults:
     group/netbox:
       netbox_url: ....
       netbox_token: .....

More info here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions