From fd6e0e3a13bf26755dc360353606c575067c9bce Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 18 Apr 2019 10:13:05 -0400 Subject: [PATCH] unregister: run with become The command needs to be run as root, I missed it in the last patch. Change-Id: I2f5160beda1dfa5bf1fa3d82d18095bf03de8d86 --- tasks/unregister.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/unregister.yml b/tasks/unregister.yml index cefd607..9849978 100644 --- a/tasks/unregister.yml +++ b/tasks/unregister.yml @@ -1,4 +1,5 @@ - name: Unregister Red Hat subscription command: subscription-manager remove --all + become: true tags: - rhsm_unregister