IL-23 induces the production of IFN-γ and IL-17 response that promotes anti-TB immunity. Here, IL17A is linked to tuberculosis.