hello,
could you edit the code of ansible to use another user, as root when we need superuser, in playbook
For example, of user name dragonXXV
my ansible tools, and linux version are :
fsfsdf@fqdfs:~/Documents/efqezfef$ ansible-playbook --version
ansible-playbook [core 2.21.4]
config file = /home/alexandre/Documents/efqezfef/ansible.cfg
configured module search path = ['/home/alexandre/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/alexandre/.local/share/pipx/venvs/ansible/lib/python3.12/site-packages/ansible
ansible collection location = /home/alexandre/.ansible/collections:/usr/share/ansible/collections
executable location = /home/alexandre/.local/bin/ansible-playbook
python version = 3.12.3 (main, Aug 31 2026, 10:18:26) [GCC 13.3.0] (/home/alexandre/.local/share/pipx/venvs/ansible/bin/python)
jinja version = 3.1.6
pyyaml version = 6.0.2 (with libyaml v0.2.5)
fsfsdf@fqdfs:~/Documents/efqezfef$ date
mer. 16 sept. 2026 13:27:20 CEST
fsfsdf@fqdfs:~/Documents/efqezfef$ uname -r
6.8.1-1059-realtime
fsfsdf@fqdfs:~/Documents/efqezfef$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.5 LTS
Release: 24.04
Codename: noble
il added my user to root group
Best regards