"Will you ask him if he will take part in the sports competition?" and "Ask him if will take part in the sports competition." mean 2 different things.
1st sentence is a question, Is the person going to ask him if.....
2nd is a command, you are telling the person to ask him if.....