Bugfix in check if systemd is installed 14/57514/1
authorDaniel Farrell <dfarrell@redhat.com>
Thu, 13 Aug 2015 20:28:07 +0000 (16:28 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Fri, 19 May 2017 16:52:25 +0000 (12:52 -0400)
commita829f0439ffe516ec3e8338bd6587f1c7026a63a
tree58160fdda0c0c3afd065f297efd891beaf41e103
parentb791668c4ccf47f87b08aa2bac2c4498f0d53022
Bugfix in check if systemd is installed

When systemd isn't installed, the `rpm -q` check exists with
a non-zero exit status (1), which is expected but interpreted
by Ansible as a failure. Tell Ansible that RC 0 and 1 are okay.

Change-Id: I75d5b7512a01001c46f7a9251f21bf772b7a9d4e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
tasks/is_systemd_installed.yml
tasks/main.yml