This commit is contained in:
2026-07-15 18:54:57 -05:00
parent b25e844c0a
commit c5b8ada835
+11 -1
View File
@@ -145,11 +145,21 @@ if [ ! -r "${SKEL_ansible_venv_sh}" ] ; then
chown root:root "${SKEL_ansible_venv_sh}"; chmod u=rwx,go= "${SKEL_ansible_venv_sh}"
curl "${GIT_REPO_profile_append}" >>"${SKEL_profile}"
fi
exit 255
# Create the hpf-ans user
system_useradd hpf-ans 800
add_groups_to_user hpf-sudo-np hpf-ans
as_hpf_ans "which ansible"
exit 255
# Make sure .ansible-venv exists
as_hpf_ans "if [ ! -d \"${HPF_ANS_ansible_venv}\" ] ; then virtualenv \"${HPF_ANS_ansible_venv}\" ; fi"