setup, enhance output when no concurrent processes found.
This commit is contained in:
@@ -218,8 +218,9 @@ if [[ "$ansible_exists" == 0 ]]; then
|
|||||||
elif [[ -e "$lock_file" ]]; then
|
elif [[ -e "$lock_file" ]]; then
|
||||||
echo "Playbook not being executed. Removing lock file."
|
echo "Playbook not being executed. Removing lock file."
|
||||||
sudo mv -v "$lock_file" "${lock_file}.disabled"
|
sudo mv -v "$lock_file" "${lock_file}.disabled"
|
||||||
|
else
|
||||||
|
echo "- No processes or lockfile found."
|
||||||
fi
|
fi
|
||||||
echo "- Verified!"
|
|
||||||
|
|
||||||
echo "Provisioning Ansible..."
|
echo "Provisioning Ansible..."
|
||||||
if [[ "$local" == "Y" ]]; then
|
if [[ "$local" == "Y" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user