Mark Goddard 6c5f72b550 Yum custom repo creation requires root
We can't assume the executing user is root, so use become.

Also uses a block to perform the RedHat-only check.

Change-Id: Ibf2da6b8086bc8e34b33f113067a213a33213161
Story: 2001898
Task: 14383
2018-04-23 15:37:50 +00:00
..