Преглед на файлове

add bash_profile template to common role

Blaine Story преди 4 дни
родител
ревизия
624fe917f5
променени са 1 файла, в които са добавени 11 реда и са изтрити 0 реда
  1. 11 0
      roles/common/templates/bash_profile.j2

+ 11 - 0
roles/common/templates/bash_profile.j2

@@ -0,0 +1,11 @@
+# {{ ansible_managed }}
+
+# Get the aliases and functions
+if [ -f ~/.bashrc ]; then
+    . ~/.bashrc
+fi
+
+# Get user specific environment and startup programs
+if [ -f ~/.bash_profile.local ]; then
+    . ~/.bash_profile.local
+fi