Change the header sent from C1 when calling the action playbook (playbook B) from "ds_id" to something more specific and descriptive
Maybe something like "iteratorDatastoreID".
This issue is helpful in case where the action playbook (playbook B) is also using the datastore, it can be confusing which datastore you are referring to with a variable.
Edited by Floyd Hightower