Add jinja2 variable for PATH variable environment
This commit is contained in:
parent
20e7f950be
commit
57acbd6091
|
@ -34,4 +34,6 @@ evomaintenance_hosts: >
|
|||
| union(evomaintenance_additional_hosts)
|
||||
| unique }}
|
||||
|
||||
evobsd_path: >-
|
||||
"$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
|
||||
cron_root_path: "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: Customize root's .profile
|
||||
copy:
|
||||
src: profile
|
||||
template:
|
||||
src: profile.j2
|
||||
dest: /root/.profile
|
||||
tags:
|
||||
- admin
|
||||
|
@ -26,8 +26,8 @@
|
|||
- dotfiles
|
||||
|
||||
- name: Change default .profile skeleton
|
||||
copy:
|
||||
src: profile
|
||||
template:
|
||||
src: profile.j2
|
||||
dest: /etc/skel/.profile
|
||||
tags:
|
||||
- admin
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# sh/ksh initialization
|
||||
|
||||
PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games
|
||||
PATH="{{ evobsd_path }}"
|
||||
export PATH HOME TERM
|
||||
export PS1="\u@\h:\w\\$ "
|
||||
HISTFILE=$HOME/.histfile
|
Loading…
Reference in a new issue