ansible_modules icon indicating copy to clipboard operation
ansible_modules copied to clipboard

[Feature]: Create module for Contacts and Contact Group

Open rodvand opened this issue 4 years ago • 3 comments

ISSUE TYPE
  • Feature Idea
SOFTWARE VERSIONS
Ansible:

2.11

NetBox:

3.1 (beta for now)

Collection:

3.3.0

SUMMARY

NetBox 3.1 introduces the a Contacts model. This should be created as a Contacts module.

rodvand avatar Nov 07 '21 20:11 rodvand

Filed https://github.com/netbox-community/netbox/issues/8051 as when I try to create a contact group it fails on parent being a required field (and we currently have no way of nullifying fields in the modules).

rodvand avatar Dec 12 '21 23:12 rodvand

Modules for Contact, Contact Group and Contact role were fairly straight forward to create. The contact assignment module requires a bit more work.

rodvand avatar Dec 14 '21 22:12 rodvand

See https://github.com/netbox-community/ansible_modules/pull/671 for the initial work on the modules.

rodvand avatar Dec 14 '21 22:12 rodvand