Using BashOperator to trigger ansible playbook from airflow DAG task, in that I want to fetch the value which are generated in Task 1 and use those in airflow DAG Task 2.
Task 1 executes a ansible playbook in which this value is generated. Is there a way to get that value in airflow DAG Task 2. Following below doc, but couldn't find any sample code which covers ansible playbook use-case.
https://github.com/apache/airflow/blob/main/airflow/operators/bash.py#L40