You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PROBLEM SUMMARY
Today the delegate_to variable within the local_certificate.yml and remote_certificate.yml file are hardcoded to localhost. This can cause an issue if you're using a remote_user within ansible to execute the playbook.
This will throw a sudo: a password is required\n error.
STEPS TO REPRODUCE
Look to enroll a local certificate using a remote_user.
- hosts: test
remote_user: srv_xxxx
become: true
gather_facts: no
EXPECTED RESULTS
Certificate is created successfully with the user defined within remote_user.
ACTUAL RESULTS
fatal: [rtest.dev.xxxx.com; -> 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
}
ENVIRONMENT DETAILS
COMMENTS/WORKAROUNDS
Go within the local_certificate.yml and remove the delegate_to variables.
The text was updated successfully, but these errors were encountered:
PROBLEM SUMMARY
Today the
delegate_to
variable within the local_certificate.yml and remote_certificate.yml file are hardcoded tolocalhost
. This can cause an issue if you're using a remote_user within ansible to execute the playbook.This will throw a
sudo: a password is required\n
error.STEPS TO REPRODUCE
Look to enroll a local certificate using a remote_user.
EXPECTED RESULTS
Certificate is created successfully with the user defined within
remote_user
.ACTUAL RESULTS
ENVIRONMENT DETAILS
COMMENTS/WORKAROUNDS
Go within the local_certificate.yml and remove the
delegate_to
variables.The text was updated successfully, but these errors were encountered: