By convention, Jinja2 templates should use the .j2 extension. Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- guests/tasks/users.yml | 2 +- guests/templates/{bash_profile => bash_profile.j2} | 0 guests/templates/{bashrc => bashrc.j2} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename guests/templates/{bash_profile => bash_profile.j2} (100%) rename guests/templates/{bashrc => bashrc.j2} (100%) diff --git a/guests/tasks/users.yml b/guests/tasks/users.yml index 033ca2a..7b37842 100644 --- a/guests/tasks/users.yml +++ b/guests/tasks/users.yml @@ -98,7 +98,7 @@ - name: '{{ flavor }}: Create shell profile' template: - src: templates/{{ item }} + src: templates/{{ item }}.j2 dest: /home/{{ flavor }}/.{{ item }} owner: '{{ flavor }}' group: '{{ flavor }}' diff --git a/guests/templates/bash_profile b/guests/templates/bash_profile.j2 similarity index 100% rename from guests/templates/bash_profile rename to guests/templates/bash_profile.j2 diff --git a/guests/templates/bashrc b/guests/templates/bashrc.j2 similarity index 100% rename from guests/templates/bashrc rename to guests/templates/bashrc.j2 -- 2.17.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list