This commit is contained in:
2026-07-15 18:49:30 -05:00
parent c2dcfa2996
commit dc490c1613
+4 -4
View File
@@ -24,12 +24,12 @@
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:-"production"}" 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"
GIT_REPO_sudoers_d_hpf="${GIT_REPO_FILES}/sudoers_d_hpf" GIT_REPO_sudoers_d_hpf="${GIT_REPO_FILES}/sudoers_d_hpf"
GIT_REPO_profile_d_ansible_venv_sh="${GIT_REPO_FILES}/profile_d_ansible_venv_sh" GIT_REPO_ansible_venv_sh="${GIT_REPO_FILES}/profile_d_ansible_venv_sh"
GIT_REPO_profile_append="${GIT_REPO_FILES}/profile_append" GIT_REPO_profile_append="${GIT_REPO_FILES}/profile_append"
GIT_REPO_ansible_pull_sh="${GIT_REPO_FILES}/ansible_pull_sh" GIT_REPO_ansible_pull_sh="${GIT_REPO_FILES}/ansible_pull_sh"
@@ -136,8 +136,8 @@ curl -o "${ETC_sudoers_d_hpf}" "${GIT_REPO_sudoers_d_hpf}"
chown root:root "${ETC_sudoers_d_hpf}"; chmod u=rw,go= "${ETC_sudoers_d_hpf}" chown root:root "${ETC_sudoers_d_hpf}"; chmod u=rw,go= "${ETC_sudoers_d_hpf}"
# Make sure .profile.d exists # Make sure .profile.d exists
mkdir -p "${SKEL_profile_d}\"" mkdir -p "${SKEL_profile_d}"
as_hpf_ans "chown root:root \"${SKEL_profile_d}\"; chmod u=rwx,go= \"${SKEL_profile_d}\"" chown root:root "${SKEL_profile_d}"; chmod u=rwx,go= "${SKEL_profile_d}"
# Create ansible-venv.sh # Create ansible-venv.sh
if [ ! -r "${SKEL_ansible_venv_sh}" ] ; then if [ ! -r "${SKEL_ansible_venv_sh}" ] ; then