This commit is contained in:
2026-07-24 11:41:39 -05:00
parent da8db08d78
commit 9f1db4076f
+2 -3
View File
@@ -25,7 +25,7 @@
TIMESTAMP="$(date "+%Y%m%d%H%M%S")" TIMESTAMP="$(date "+%Y%m%d%H%M%S")"
GIT_REPO_BASE="https://gitea.admin-a.hpetersenfamily.com/heath/ansible" GIT_REPO_BASE="https://gitea.admin-a.hpetersenfamily.com/heath/ansible"
GIT_REPO="${GIT_REPO_BASE}.git" #GIT_REPO="${GIT_REPO_BASE}.git"
GIT_REPO_BRANCH="${1:-"development"}" GIT_REPO_BRANCH="${1:-"development"}"
GIT_REPO_FILES="${GIT_REPO_BASE}/raw/branch/${GIT_REPO_BRANCH}/files" GIT_REPO_FILES="${GIT_REPO_BASE}/raw/branch/${GIT_REPO_BRANCH}/files"
@@ -45,7 +45,6 @@ SKEL_ansible_venv_sh="${SKEL_profile_d}/ansible-venv.sh"
SKEL_profile="${SKEL}/.profile" SKEL_profile="${SKEL}/.profile"
HPF_ANS_ansible_venv_dir="\${HOME}/.ansible-venv" HPF_ANS_ansible_venv_dir="\${HOME}/.ansible-venv"
HPF_ANS_activate="${HPF_ANS_ansible_venv_dir}/bin/activate"
HPF_ANS_bin="\${HOME}/bin" HPF_ANS_bin="\${HOME}/bin"
HPF_ANS_ansible_pull_sh="${HPF_ANS_bin}/ansible-pull.sh" HPF_ANS_ansible_pull_sh="${HPF_ANS_bin}/ansible-pull.sh"
@@ -111,7 +110,7 @@ as_hpf_ans () {
# #
# Make sure we're running as root # Make sure we're running as root
if [ $(id -u) -ne 0 ] ; then if [ "$(id -u)" -ne 0 ] ; then
echo "ERROR - Not running as root" >&2 echo "ERROR - Not running as root" >&2
exit 100 exit 100
fi fi