Found it. The problem is caused by commit https://github.com/ansible/ansible/commit/078ebb0dec17675dbb0aaf9d656d2c0042988d46 which strips far too many variables from the vars list being re-injected into the current context. As far as I can tell, only become_user needs to stripped from the re-injected variables.
Unfortunately, the commit doesn't say which piece of code gets confused by the re-injection of of the become_user variables, so all I can do at the moment is make sure that the test case from the original PR still gets fixed. Cheers, Lloyd -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.