# group module: create group with a specific gid but do not change the gid of an existing group.

**URL:** <https://forum.ansible.com/t/group-module-create-group-with-a-specific-gid-but-do-not-change-the-gid-of-an-existing-group/29570>\
**Category:** Ansible Project\
**Created:** [January 30, 2019, 2:33pm UTC](https://forum.ansible.com/t/group-module-create-group-with-a-specific-gid-but-do-not-change-the-gid-of-an-existing-group/29570 "2019-01-30T14:33:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bob.carroll](https://avatars.discourse-cdn.com/v4/letter/b/f6c823/32.png) [@bob.carroll](https://forum.ansible.com/u/bob.carroll)\
**Post date:** [January 30, 2019, 2:33pm UTC](https://forum.ansible.com/t/group-module-create-group-with-a-specific-gid-but-do-not-change-the-gid-of-an-existing-group/29570/1 "2019-01-30T14:33:46Z")

</div>

It would be useful to have an option “update\_gid:” similar to update\_password in the user module. It is often disruptive to change the gid of an existing group.  
A value “on\_create” would allow state “present” but not update the gid.
