From: Paul Durivage <notifi...@github.com>Subject: [ansible] Add su support (#5694)Date: January 20, 2014 at 8:28:44 PM ESTTo: ansible/ansible <ans...@noreply.github.com>Reply-To: ansible/ansible <reply+i-25958790-3751e6bbbad5091...@reply.github.com>Continuing from PR #5325. This reverts the revert, and is therefore known as revertception. The su bug is resolved -- looks like I missed it when resolving the rebase/merge conflicts. :( Also, I had missed that there was now an additional paramiko lib, "paramiko_alt.py", so I've gone ahead and fixed that as well.
You can merge this Pull Request by running
git pull https://github.com/angstwad/ansible add-su-support-revertOr view, comment on, or merge it at:
https://github.com/ansible/ansible/pull/5694
Commit Summary
- Resolve su bug in paramiko libs
- Revert "Revert "Merge pull request #5325 from angstwad/add-su-support""
File Changes
- M bin/ansible (41)
- M bin/ansible-playbook (18)
- M lib/ansible/constants.py (6)
- M lib/ansible/playbook/__init__.py (85)
- M lib/ansible/playbook/play.py (20)
- M lib/ansible/playbook/task.py (20)
- M lib/ansible/runner/__init__.py (60)
- M lib/ansible/runner/connection_plugins/accelerate.py (5)
- M lib/ansible/runner/connection_plugins/chroot.py (5)
- M lib/ansible/runner/connection_plugins/fireball.py (6)
- M lib/ansible/runner/connection_plugins/funcd.py (7)
- M lib/ansible/runner/connection_plugins/jail.py (5)
- M lib/ansible/runner/connection_plugins/local.py (6)
- M lib/ansible/runner/connection_plugins/paramiko_alt.py (11)
- M lib/ansible/runner/connection_plugins/paramiko_ssh.py (16)
- M lib/ansible/runner/connection_plugins/ssh.py (33)
- M lib/ansible/runner/connection_plugins/ssh_old.py (31)
- M lib/ansible/utils/__init__.py (38)
Patch Links:
- https://github.com/ansible/ansible/pull/5694.patch
- https://github.com/ansible/ansible/pull/5694.diff
—
Reply to this email directly or view it on GitHub.
just curious, can sudo and su be used simultaneously?
fatal: [vsin3u544.svr.us.jpmchase.net] => failed to parse: SUDO-SUCCESS-ulnzuflbdcdwddmombacdjeerhjdfgoy {"msg": "Could not replace file: /tmp/.ansible/tmp/ansible-tmp-1398820873.22-273887835083885/source to /opt/adtools-local-data/jira8/jira_home/c aches/remove_me.txt: [Errno 13] Permission denied: '/tmp/.ansible/tmp/ansible-tmp-1398820873.22-273887835083885/source'", "failed": true} Exception OSError: (2, 'No such file or directory', '/opt/adtools-local-data/jira8/jira_home/caches/.ansible_tmpzRLO88remove_me.txt') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x7fd090bbbdb0>> ignored
fatal: [vsin3u544.svr.us.jpmchase.net] => failed to parse: SUDO-SUCCESS-ulnzuflbdcdwddmombacdjeerhjdfgoy {"msg": "Could not replace file: /tmp/.ansible/tmp/ansible-tmp-1398820873.22-273887835083885/source to /opt/adtools-local-data/jira8/jira_home/c aches/remove_me.txt: [Errno 13] Permission denied: '/tmp/.ansible/tmp/ansible-tmp-1398820873.22-273887835083885/source'", "failed": true} Exception OSError: (2, 'No such file or directory', '/opt/adtools-local-data/jira8/jira_home/caches/.ansible_tmpzRLO88remove_me.txt') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x7fd090bbbdb0>> ignored
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2512a6c3-881d-4d76-bfd0-b94a4826fea7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAK6JQEHUy3xpwo8h-sys9xWrHZa3oM2nMYvRfFCEOZEkjgj9%2Bg%40mail.gmail.com.