using set_fact to remember launch and termination ids