Comment 14 for bug 1750233

Reviewed: https://review.openstack.org/637441
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=71a067abf26365e2f46d0d6e217f50e047a25a2e
Submitter: Zuul
Branch: master

commit 71a067abf26365e2f46d0d6e217f50e047a25a2e
Author: Shannon Mitchell <email address hidden>
Date: Sun Feb 17 16:59:29 2019 -0600

    Dynamic inventory backup corruption fix

    When multiple users and process are accessing the dynamic inventory
    the inventory backup and json can get corrupted. This change checks
    for inventory modifictions and only saves if needed. The backup
    is also moved to right before the actual save.

    Change-Id: Ifd348ddd9c21526f5b523963dd1fd247edd6b109
    Closes-Bug: #1750233