[Queens only] Change auditd stopping upgrade task.

When upgradring from non-containerized to containerized we
required to stop the baremetal service. For most of the
cases using systemctl stop should suffice. However, the
auditd service can't be stopped via systemctl [0].

This patch changes the systemctl stop auditd into
service auditd stop.

[0] - https://access.redhat.com/solutions/2664811

Change-Id: If4e4444f5d563049c75d71471c7aefcadf415228
Closes-Bug: #1860349
This commit is contained in:
Jose Luis Franco Arza 2020-01-20 17:36:37 +01:00
parent 48089c75da
commit 7029884718
1 changed files with 1 additions and 1 deletions

View File

@ -62,4 +62,4 @@ outputs:
when:
- step|int == 2
- auditd_enabled.rc == 0
service: name=auditd state=stopped
command: service auditd stop