Downgrading packages with yum on RHEL7

yum history list all

yum history undo $ID --exclude=kernel*

More info: https://access.redhat.com/solutions/29617