diff options
author | Russell Teague <rteague@redhat.com> | 2016-11-23 09:58:31 -0500 |
---|---|---|
committer | Russell Teague <rteague@redhat.com> | 2016-11-23 09:58:31 -0500 |
commit | c1ad62d179fe978e08b39ffee1975dac596c1a7a (patch) | |
tree | 8dac9878a6f82cb5b7823b87c13119699d733077 /playbooks/common/openshift-cluster/library | |
parent | fb357a2c39bb06624fd387fc490947163bbf3e0b (diff) | |
download | openshift-c1ad62d179fe978e08b39ffee1975dac596c1a7a.tar.gz openshift-c1ad62d179fe978e08b39ffee1975dac596c1a7a.tar.bz2 openshift-c1ad62d179fe978e08b39ffee1975dac596c1a7a.tar.xz openshift-c1ad62d179fe978e08b39ffee1975dac596c1a7a.zip |
Systemd `systemctl show` workaround
`systemctl show` would exit with RC=1 for non-existent services in v231.
This caused the Ansible systemd module to exit with a failure of running the
`systemctl show` command instead of exiting stating the service was not found.
This change catches both failures on either older or newer versions of systemd.
The change in systemd exit status could be resolved in systemd v232.
https://github.com/systemd/systemd/commit/3dced37b7c2c9a5c733817569d2bbbaa397adaf7
Diffstat (limited to 'playbooks/common/openshift-cluster/library')
0 files changed, 0 insertions, 0 deletions