Commit c9be4974 by John Jarvis

using for loop for environment file

parent 5163a47b
# {{ ansible_managed }}
export RBENV_ROOT="{{ rbenv_root }}"
export RBENV_ROOT: "{{ rbenv_root }}"
export GEM_ROOT: "{{ rbenv_gem_root }}"
export GEM_HOME: "{{ rbenv_gem_root }}"
export PATH="{{ rbenv_bin }}:{{ rbenv_shims }}:{{ rbenv_gem_bin }}:/bin/:$PATH"
{% for name,value in rbenv_environment.items() %}
{% if value %}
export {{ name }}="{{ value }}"
{% endif %}
{% endfor %}
eval "$(rbenv init -)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment