Comment 11 for bug 1750233

Reviewed: https://review.openstack.org/638291
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=c7fbe594d0bdddedddb2aa2977b1ad1e7bdbe5b3
Submitter: Zuul
Branch: stable/queens

commit c7fbe594d0bdddedddb2aa2977b1ad1e7bdbe5b3
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