This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Never remove the ansible_inventory if --dry-run is used
We currently do this: if [ "$OPT_RETAIN_INVENTORY_FILE" = 0 ]; then # Clear out inventory file to avoid tripping over data # from a previous invocation rm -f $ANSIBLE_INVENTORY This is very unexpected for a first-time user that has already deployed a system and would like to inspect the tasks. Let's remove it when we do not use the --dry-run option Closes-Bug: #1775024 Change-Id: Ic52436ae2d5983e15f4e128edf1562510c3f7259
- Loading branch information