unregister: run with become

The command needs to be run as root, I missed it in the last patch.

Change-Id: I2f5160beda1dfa5bf1fa3d82d18095bf03de8d86
This commit is contained in:
Emilien Macchi 2019-04-18 10:13:05 -04:00
parent 429bc833aa
commit fd6e0e3a13

View File

@ -1,4 +1,5 @@
- name: Unregister Red Hat subscription - name: Unregister Red Hat subscription
command: subscription-manager remove --all command: subscription-manager remove --all
become: true
tags: tags:
- rhsm_unregister - rhsm_unregister