ansible/ansible — pull request #9098 by abompard (2014-09-22 16:56:57+00:00)
Title: Module alternatives: support RedHat-based OSes

RedHat-based OSes have a version of update-alternatives which comes from
the chkconfig package and does not support the --query parameter. Work
around that.

Also, update the module to support check mode.