diff --git a/bootstrap.sh b/bootstrap.sh index 4550fd3..3c87aa8 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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"