Skip to content

Commit

Permalink
fix su localization option [2.10] (#73878)
Browse files Browse the repository at this point in the history
* fix su localization optoin

  fixes #73837

(cherry picked from commit 37cb550)

* Update su_fix.yml

Co-authored-by: Rick Elrod <rick@elrod.me>
  • Loading branch information
bcoca and relrod committed Apr 5, 2021
1 parent 69d18e6 commit 40543aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/su_fix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- su become plugin - ensure correct type for localization option (https://github.com/ansible/ansible/issues/73837).
1 change: 1 addition & 0 deletions lib/ansible/plugins/become/su.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
- List of localized strings to match for prompt detection
- If empty we'll use the built in one
default: []
type: list
ini:
- section: su_become_plugin
key: localized_prompts
Expand Down

0 comments on commit 40543aa

Please sign in to comment.