I’m just getting started, but I haven’t stumbled across a good solution to this problem. In the case of deploying our software stack to a group of nodes, we’re using var_prompt to ask a series of questions about the environment. What would be really nice and elegant is a manner to save the previous run’s inputted values as defaults for the prompts in the next run. Anyone have a good solution for this? I think I can write out the data during run #1, but I don’t know how to read it back in for run #2 when the var_prompt section is being evaluated. I know as a complete alternative there’s the ability to do either extra_vars on the command line or include_vars in tasks, but I’m trying to stay away from that at the moment.
thanks
-mike