Public bug reported:

Using the following ansible configuration to create a system group

--- BEGIN ---

- name: ADDUSER Ensure system group "wireshark" exists
  ansible.builtin.group:
    name: wireshark
    system: yes
    state: present

--- END ---

leads to a (numeric) group is of 998

  $ grep wireshark /etc/group
  wireshark:x:998:


while executing doing the same via command line lead to a GID as expected:

  $ sudo addgroup --system wireshark
  Adding group `wireshark' (GID 137) ...
  Done.


Could the behavior be harmonized to have all numeric group ids in a similar 
range?

** Affects: ansible (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- module group: different gid not than with command line
+ module group: different gid compared to command line execution

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1919383

Title:
  module group: different gid compared to command line execution

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ansible/+bug/1919383/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to