Bug 1445712
Summary: | become_method=su fails waiting for privilege escalation prompt | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Juan Orti <jorti> | |
Component: | ansible | Assignee: | Kevin Fenzi <kevin> | |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 26 | CC: | a.badger, athmanem, kevin, mark, maxim, toromoti | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | ansible-2.3.1.0-1.el6 ansible-2.3.1.0-1.el7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1461922 (view as bug list) | Environment: | ||
Last Closed: | 2017-06-17 21:18:35 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1461922 |
Description
Juan Orti
2017-04-26 11:06:34 UTC
Ansible issue 23689 ansible-2.3.1.0-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-5279a157d2 ansible-2.3.1.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-b316d2bb3b ansible-2.3.1.0-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-5279a157d2 ansible-2.3.1.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-b316d2bb3b This is an example playbook which timeouts for all the remote hosts with ansible-2.3.1.0-1.fc26.noarch. It works for localhost, which has defined ansible_connection: local - name: become_method=su test hosts: all become: yes become_method: su remote_user: juan tasks: - ping: $ ansible-playbook playbooks/su-test.yml PLAY [become_method=su test] ************************************************************************************************************************************************************************************** TASK [Gathering Facts] ******************************************************************************************************************************************************************************************** ok: [localhost] fatal: [remotehost1]: FAILED! => {"failed": true, "msg": "Timeout (12s) waiting for privilege escalation prompt: "} fatal: [remotehost2]: FAILED! => {"failed": true, "msg": "Timeout (12s) waiting for privilege escalation prompt: "} TASK [ping] ******************************************************************************************************************************************************************************************************* ok: [localhost] PLAY RECAP ******************************************************************************************************************************************************************************************************** remotehost1 : ok=0 changed=0 unreachable=0 failed=1 remotehost2 : ok=0 changed=0 unreachable=0 failed=1 localhost : ok=2 changed=0 unreachable=0 failed=0 Sorry, after introducing the become password with -K, this test playbook works in Fedora and epel7. Tomorrow I'll check some complex playbooks we have at work which were failing these days. After a more detailed review, I can confirm this issue is fixed in Fedora. Thank you. ansible-2.3.1.0-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. ansible-2.3.1.0-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |