ansible-collections / microsoft.ad

Ansible collection for Active Directory management
GNU General Public License v3.0
39 stars 22 forks source link

Change default path handling for existing AD objs #59

Closed jborean93 closed 1 year ago

jborean93 commented 1 year ago
SUMMARY

Changes the behaviour of path for existing objects when no path was specified and identity points to a valid object. The old behaviour was to treat no path value as the default container for that object type which would have resulted in moving the object. The new behaviour will treat no path or empty path value as keep the existing path. The object will only be moved if an explicit path value was set.

Adds support for the sentinel value microsoft.ad.default_path to be specified as the path which will be the default container for that object type.

Fixes: https://github.com/ansible-collections/microsoft.ad/issues/43 Fixes: https://github.com/ansible-collections/microsoft.ad/issues/44 Fixes: https://github.com/ansible-collections/microsoft.ad/issues/52 Fixes: https://github.com/ansible-collections/microsoft.ad/issues/53

ISSUE TYPE
COMPONENT NAME

microsoft.ad._ADObject

softwarefactory-project-zuul[bot] commented 1 year ago

Build succeeded. https://ansible.softwarefactory-project.io/zuul/buildset/72129de4bd554afa81493acfc133cdd6

:heavy_check_mark: ansible-galaxy-importer SUCCESS in 4m 20s :heavy_check_mark: build-ansible-collection SUCCESS in 6m 43s