Comment 3 for bug 1787048

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-hardening (master)

Reviewed: https://review.openstack.org/594366
Committed: https://git.openstack.org/cgit/openstack/ansible-hardening/commit/?id=111f48b2f670353f51476817420893950aef3609
Submitter: Zuul
Branch: master

commit 111f48b2f670353f51476817420893950aef3609
Author: Kevin Carter <email address hidden>
Date: Tue Aug 21 11:31:01 2018 -0500

    Correct issue with ansible hardening and systemd

    The systemd command does not have a stable api and can return different
    codes when executed. This change converts the task to query the target
    unit and disable it if it exists to a single systemd task using the
    ansible module.

    Closes-Bug: #1787048
    Change-Id: I74c43839cd7d3a8620a0fb8e405fbc3f6a0f44d0
    Signed-off-by: Kevin Carter <email address hidden>