only user root (docker run -d -u root ) can avoid this.
PLAY [Run default Splunk provisioning] *****
TASK [Gathering Facts] *****
fatal: [localhost]: FAILED! => {
"ansible_facts": {},
"changed": false,
"failed_modules": {
"ansible.legacy.setup": {
"failed": true,
"module_stderr": "sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
}
}
}
MSG:
The following modules failed to execute: ansible.legacy.setup
can you help below issue when docker run? thanks!
only user root (docker run -d -u root ) can avoid this.
PLAY [Run default Splunk provisioning] *****
TASK [Gathering Facts] ***** fatal: [localhost]: FAILED! => { "ansible_facts": {}, "changed": false, "failed_modules": { "ansible.legacy.setup": { "failed": true, "module_stderr": "sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1 } } }
MSG:
The following modules failed to execute: ansible.legacy.setup