x
This commit is contained in:
+11
-1
@@ -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}"
|
chown root:root "${SKEL_ansible_venv_sh}"; chmod u=rwx,go= "${SKEL_ansible_venv_sh}"
|
||||||
curl "${GIT_REPO_profile_append}" >>"${SKEL_profile}"
|
curl "${GIT_REPO_profile_append}" >>"${SKEL_profile}"
|
||||||
fi
|
fi
|
||||||
exit 255
|
|
||||||
# Create the hpf-ans user
|
# Create the hpf-ans user
|
||||||
system_useradd hpf-ans 800
|
system_useradd hpf-ans 800
|
||||||
add_groups_to_user hpf-sudo-np hpf-ans
|
add_groups_to_user hpf-sudo-np hpf-ans
|
||||||
|
|
||||||
|
|
||||||
|
as_hpf_ans "which ansible"
|
||||||
|
exit 255
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Make sure .ansible-venv exists
|
# Make sure .ansible-venv exists
|
||||||
as_hpf_ans "if [ ! -d \"${HPF_ANS_ansible_venv}\" ] ; then virtualenv \"${HPF_ANS_ansible_venv}\" ; fi"
|
as_hpf_ans "if [ ! -d \"${HPF_ANS_ansible_venv}\" ] ; then virtualenv \"${HPF_ANS_ansible_venv}\" ; fi"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user