Merge pull request #146 from M2Mobi/bashrc

Add support for jinja code in bashrc files.
This commit is contained in:
Niels Abspoel 2017-06-13 22:47:42 +02:00 committed by GitHub
commit c76173753c

View File

@ -21,7 +21,8 @@ users_{{ name }}_user_bashrc:
- user: {{ name }} - user: {{ name }}
- group: {{ user_group }} - group: {{ user_group }}
- mode: 644 - mode: 644
- source: - template: jinja
- source:
- salt://users/files/bashrc/{{ name }}/bashrc - salt://users/files/bashrc/{{ name }}/bashrc
- salt://users/files/bashrc/bashrc - salt://users/files/bashrc/bashrc
{% endif %} {% endif %}