diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-20 23:02:06 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-20 23:02:08 +0200 |
commit | c054d22c4818d916ac6dd9c8d7a7a2c614408e17 (patch) | |
tree | c0239045b1587cd950fd1d777f0c84fe5c23aa92 /roles/sshd | |
parent | add ansible_managed comment to templates (diff) | |
download | infra-ansible-c054d22c4818d916ac6dd9c8d7a7a2c614408e17.tar.gz infra-ansible-c054d22c4818d916ac6dd9c8d7a7a2c614408e17.zip |
append .j2 extension to templates
I saw a good point somewhere that it should help with syntax
highlighting.
Diffstat (limited to 'roles/sshd')
-rw-r--r-- | roles/sshd/tasks/main.yml | 2 | ||||
-rw-r--r-- | roles/sshd/templates/sshd_config.j2 (renamed from roles/sshd/templates/sshd_config) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/roles/sshd/tasks/main.yml b/roles/sshd/tasks/main.yml index d31ac79..ed60e75 100644 --- a/roles/sshd/tasks/main.yml +++ b/roles/sshd/tasks/main.yml @@ -1,7 +1,7 @@ - name: Configure sshd become: true ansible.builtin.template: - src: sshd_config + src: sshd_config.j2 dest: /etc/ssh/sshd_config owner: root group: root diff --git a/roles/sshd/templates/sshd_config b/roles/sshd/templates/sshd_config.j2 index abcf0d7..abcf0d7 100644 --- a/roles/sshd/templates/sshd_config +++ b/roles/sshd/templates/sshd_config.j2 |