Files
Christian Heusel 069c245baf sudo: Revise wheel group logic
This depended on the now-deprecated `groupmems` command:

    TASK [sudo : Remove all users from wheel group]
    [ERROR]: Task failed: Module failed: Error executing command: [Errno 2] No such file or directory: b'groupmems'
    Origin: /home/chris/Documents/shared_projects/arch-infrastructure/roles/sudo/tasks/main.yml:5:3

    3
    4 # https://github.com/ansible/ansible/issues/11024
    5 - name: Remove all users from wheel group
        ^ column 3

    fatal: [build.archlinux.org]: FAILED! => {
        "changed": false,
        "changed_when_result": false,
        "cmd": "groupmems -g wheel --purge",
        "rc": 2
    }

    MSG:
    Error executing command.

Link: https://github.com/shadow-maint/shadow/issues/1343
Signed-off-by: Christian Heusel <christian@heusel.eu>
2026-08-10 17:12:48 +02:00
..
2026-08-10 17:12:48 +02:00