mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-28 00:48:22 +01:00
Add support for jinja code in bashrc files.
This commit is contained in:
parent
8c6bbafd9b
commit
4042641c09
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user