Skip to content

become sudo no longer working with cached credentials for localhost in 2.19.0 — please document this in the porting guide #3379

@gotmax23

Description

@gotmax23

Summary

See ansible/ansible#85536. Since this was an intentional change that is breaking users, it should be listed in the changelog/porting guide.

docs/docsite/rst/porting_guides/porting_guide_12.rst:- Task Execution / Forks - Forks no longer inherit stdio from the parent ``ansible-playbook`` process. ``stdout``, ``stderr``, and ``stdin`` within a worker are detached from the terminal, and non-functional. All needs to access stdio from a fork for controller side plugins requires use of ``Display``.

currently exists, but it should also explain the implications on sudo caching.

This issue was brought up in the context of https://pagure.io/fesco/issue/3518, so I figured I'd file an issue here.

Issue Type

Bug Report

Component Name

general

Ansible Version

$ ansible --version
2.19

Configuration

# if using a version older than ansible-core 2.12 you should omit the '-t all'
$ ansible-config dump --only-changed -t all

OS / Environment

local connection plugin

Steps to Reproduce

Expected Results

n/a

Actual Results

n/a

Code of Conduct

  • I agree to follow the Ansible Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds_triageNeeds a first human triage before being processed.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    🆕 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions