diff --git a/tests/ansible/integration/transport_config/become_pass.yml b/tests/ansible/integration/transport_config/become_pass.yml index 02c6528d..a3dd7594 100644 --- a/tests/ansible/integration/transport_config/become_pass.yml +++ b/tests/ansible/integration/transport_config/become_pass.yml @@ -113,7 +113,8 @@ -# ansible_become_pass & ansible_become_password set, password takes precedence +# ansible_become_pass & ansible_become_password set, password used to take precedence +# but it's possible since https://github.com/ansible/ansible/pull/69629/files#r428376864, now it doesn't - hosts: tc-become-pass-both become: true tasks: @@ -124,7 +125,7 @@ - out.result|length == 2 - out.result[0].method == "ssh" - out.result[1].method == "sudo" - - out.result[1].kwargs.password == "a.b.c" + - out.result[1].kwargs.password == "c.b.a" # both, mitogen_via @@ -135,7 +136,7 @@ - {mitogen_get_stack: {}, register: out} - assert: that: - - out.result|length == 3 + - out.result|length == 4 - out.result[0].method == "ssh" - out.result[1].method == "sudo" - out.result[1].kwargs.password == "a.b.c"