Update hadoop.yml

Change only_if by when