Remove package if service stopped and disabled
authormarios <marios@redhat.com>
Mon, 3 Jul 2017 16:20:30 +0000 (19:20 +0300)
committerEmilien Macchi <emilien@redhat.com>
Mon, 9 Oct 2017 18:06:26 +0000 (11:06 -0700)
Adds a UpgradeRemoveUnusedPackages param to use
in the ansible when conditional for the removal

Adds package removal to step2 right after a service
is stopped and disabled on step2. Package updates
happen in step3 so ideally remove before that.

The package removal task has ignore_errors true
so dependencies or other issue removing packages will
not fail the upgrade workflow.

Also adds this to the upgrade environment files
for visibility and defaulting false

Change-Id: Ie4e4a2d41f7752c5a13507a7c15c6f68e203cfca
Related-Bug: 1701501
(cherry picked from commit ce0ef2fa207698c1ae61c1620fe3c5e8d1c7bfca)


No differences found