Hi,
Passing the 'xxxxx' value as an '--extra-var' value is an option, but still requires the value to be known upfront
and hence will not solve your problem.
That's why I created a module where a play can set an 'extra variable' with a runtime discovered value. Since the
'extra variable' is accessible thru all plays, this is a way to pass information between plays.
The pull request is waiting on community review, so if you like, go ahead...
Pieter.