From 17ac3a3a36db5dfa2f8794e302141a7920c2c57a Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Thu, 30 Jun 2022 17:53:06 +0200 Subject: [PATCH] etc-git: ansible-commit upstream release 22.05 --- roles/etc-git/files/ansible-commit | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/roles/etc-git/files/ansible-commit b/roles/etc-git/files/ansible-commit index 20ab3a9..d22f4a6 100644 --- a/roles/etc-git/files/ansible-commit +++ b/roles/etc-git/files/ansible-commit @@ -2,7 +2,7 @@ set -u -VERSION="22.04.1" +VERSION="22.05" show_version() { cat <&2 exit 1 ;; + --no-lxc) + LXC=0 + ;; -n|--dry-run) # disable actual commands DRY_RUN=1 @@ -169,6 +173,7 @@ if [ -z "${MESSAGE}" ]; then fi DRY_RUN=${DRY_RUN:-0} VERBOSE=${VERBOSE:-0} +LXC=${LXC:-1} evocommit_bin=$(command -v evocommit) if [ -z "${evocommit_bin}" ]; then