Use one command instead of two in for yum groupinstall.
Add imagemagick role.