title: How to create a conditional task in Airflow
body: <p>I would like to create a conditional task in Airflow as described in the schema below. The expected scenario is the following:</p>
  
  <ul>
  <li>Task 1 executes</li>
  <li>If Task 1 succeed, then execute Task 2a</li>
  <li>Else If Task 1 fails, then execute Task 2b</li>
  <li>Finally execute Task 3</li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/VS1Wm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/VS1Wm.png" alt="Conditional Task"></a>
  All tasks above are SSHExecuteOperator.
  I'm guessing I should be using the ShortCircuitOperator and / or XCom to manage the condition but I am not clear on how to implement that. Could you please describe the solution?</p>