Open ganeshrn opened 4 years ago
Privilege escalation not working for Linux host using libssh transport
[persistent_connection] connect_timeout = 100 command_timeout = 100 ssh_type = libssh
- hosts: fedora gather_facts: no connection: ansible.netcommon.libssh tasks: - name: run commands command: cmd: "{{ item }}" loop: - "ls -al" become: true register: result
Privilege escalation fails
Ref: https://github.com/ansible/pylibssh/issues/16
SUMMARY
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS