TASK [linux/opensearch : Security Plugin configuration | Check that the files/internal_users.yml exists] ************************************************************************************
fatal: [aos -> localhost]: FAILED! => {"changed": false, "module_stderr": "sudo: a password is required\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
Expected behavior
Finish the deployment without errors.l
Playbook Name
Specify the Playbook which is affected?
roles/linux/opensearch/tasks/security.ym
Screenshots
N/A
Host/Environment (please complete the following information):
Ansible Version: 2.12.6
Playbook Version: 2.1.0
Additional context
As the task does not need elevate privileges to be performed it's better to set it to become: false other then force privilege escalation for a simple local file existence check.
Describe the bug local action requesting unnecessary privilege escalation.
To Reproduce Steps to reproduce the behavior:
Expected behavior Finish the deployment without errors.l
Playbook Name Specify the Playbook which is affected? roles/linux/opensearch/tasks/security.ym
Screenshots N/A
Host/Environment (please complete the following information):
Additional context As the task does not need elevate privileges to be performed it's better to set it to become: false other then force privilege escalation for a simple local file existence check.