Drop the jinja file extension

This commit is contained in:
Wojciech Kozlowski 2023-07-08 10:04:37 +02:00
parent a9b3cbe43a
commit 1e76fc100c
55 changed files with 21 additions and 21 deletions

View File

@ -1,18 +1,18 @@
--- ---
- name: "{{ backups_restic_user_name }} : create restic password file" - name: "{{ backups_restic_user_name }} : create restic password file"
ansible.builtin.template: ansible.builtin.template:
src: "./restic.password.j2" src: "./restic.password"
dest: "{{ backups_restic_user_restic_password_file }}" dest: "{{ backups_restic_user_restic_password_file }}"
mode: 0600 mode: 0600
- name: "{{ backups_restic_user_name }} : create aws key file" - name: "{{ backups_restic_user_name }} : create aws key file"
ansible.builtin.template: ansible.builtin.template:
src: "./restic-aws-keys.yml.j2" src: "./restic-aws-keys.yml"
dest: "{{ backups_restic_user_aws_keys_file }}" dest: "{{ backups_restic_user_aws_keys_file }}"
mode: 0600 mode: 0600
- name: "{{ backups_restic_user_name }} : configure service restic backups" - name: "{{ backups_restic_user_name }} : configure service restic backups"
ansible.builtin.template: ansible.builtin.template:
src: "./volumes.yml.j2" src: "./volumes.yml"
dest: "/etc/restic-batch.d/{{ backups_restic_user_name }}.yml" dest: "/etc/restic-batch.d/{{ backups_restic_user_name }}.yml"
mode: 0644 mode: 0644

View File

@ -17,6 +17,6 @@
- name: "{{ backups_snapshots_user_name }} : configure service syncoid snapshots" - name: "{{ backups_snapshots_user_name }} : configure service syncoid snapshots"
ansible.builtin.template: ansible.builtin.template:
src: "./volumes.yml.j2" src: "./volumes.yml"
dest: "/etc/syncoid-batch.d/{{ backups_snapshots_user_name }}.yml" dest: "/etc/syncoid-batch.d/{{ backups_snapshots_user_name }}.yml"
mode: 0644 mode: 0644

View File

@ -20,7 +20,7 @@
- name: "configure nextcloud secrets" - name: "configure nextcloud secrets"
ansible.builtin.template: ansible.builtin.template:
src: "./nextcloud/{{ item }}.j2" src: "./nextcloud/{{ item }}"
dest: "{{ services_service_user_home }}/.config/{{ services_service_user_name }}/{{ item }}" dest: "{{ services_service_user_home }}/.config/{{ services_service_user_name }}/{{ item }}"
mode: 0600 mode: 0600
loop: loop:
@ -33,7 +33,7 @@
- name: "configure systemd service" - name: "configure systemd service"
ansible.builtin.template: ansible.builtin.template:
src: "./systemd/{{ item }}.j2" src: "./systemd/{{ item }}"
dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}" dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}"
mode: 0600 mode: 0600
loop: loop:

View File

@ -13,7 +13,7 @@
- name: "configure postgres password" - name: "configure postgres password"
ansible.builtin.template: ansible.builtin.template:
src: "./postgres/database.password.j2" src: "./postgres/database.password"
dest: "\ dest: "\
{{ services_service_user_home }}/.config/{{ services_service_user_name }}/\ {{ services_service_user_home }}/.config/{{ services_service_user_name }}/\
database.password" database.password"
@ -22,7 +22,7 @@
- name: "configure systemd service" - name: "configure systemd service"
ansible.builtin.template: ansible.builtin.template:
src: "./systemd/{{ item }}.j2" src: "./systemd/{{ item }}"
dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}" dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}"
mode: 0600 mode: 0600
loop: loop:

View File

@ -13,7 +13,7 @@
- name: "configure systemd service" - name: "configure systemd service"
ansible.builtin.template: ansible.builtin.template:
src: "./systemd/{{ item }}.j2" src: "./systemd/{{ item }}"
dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}" dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}"
mode: 0600 mode: 0600
loop: loop:

View File

@ -32,7 +32,7 @@
- name: "configure systemd service" - name: "configure systemd service"
ansible.builtin.template: ansible.builtin.template:
src: "./systemd/{{ item }}.j2" src: "./systemd/{{ item }}"
dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}" dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}"
mode: 0600 mode: 0600
loop: loop:
@ -61,7 +61,7 @@
- name: "configure rsync-certificates service" - name: "configure rsync-certificates service"
ansible.builtin.template: ansible.builtin.template:
src: "./systemd/{{ item }}.j2" src: "./systemd/{{ item }}"
dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}" dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}"
mode: 0600 mode: 0600
loop: loop:

View File

@ -13,7 +13,7 @@
- name: "configure systemd service" - name: "configure systemd service"
ansible.builtin.template: ansible.builtin.template:
src: "./systemd/{{ item }}.j2" src: "./systemd/{{ item }}"
dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}" dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}"
mode: 0600 mode: 0600
loop: loop:

View File

@ -13,7 +13,7 @@
- name: "configure systemd service" - name: "configure systemd service"
ansible.builtin.template: ansible.builtin.template:
src: "./systemd/{{ item }}.j2" src: "./systemd/{{ item }}"
dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}" dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}"
mode: 0600 mode: 0600
loop: loop:

View File

@ -32,7 +32,7 @@
- name: "configure systemd service" - name: "configure systemd service"
ansible.builtin.template: ansible.builtin.template:
src: "./systemd/{{ item }}.j2" src: "./systemd/{{ item }}"
dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}" dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}"
mode: 0600 mode: 0600
loop: loop:

View File

@ -27,7 +27,7 @@
- name: "pin hugo version" - name: "pin hugo version"
ansible.builtin.template: ansible.builtin.template:
src: "./hugo/apt.j2" src: "./hugo/apt"
dest: "/etc/apt/preferences.d/hugo" dest: "/etc/apt/preferences.d/hugo"
mode: 0644 mode: 0644
@ -38,7 +38,7 @@
- name: "configure systemd service" - name: "configure systemd service"
ansible.builtin.template: ansible.builtin.template:
src: "./systemd/{{ item }}.j2" src: "./systemd/{{ item }}"
dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}" dest: "{{ services_service_user_home }}/.config/systemd/user/{{ item }}"
mode: 0600 mode: 0600
loop: loop:

View File

@ -8,7 +8,7 @@
- name: "veth : configure connect-pod-service path trigger" - name: "veth : configure connect-pod-service path trigger"
ansible.builtin.template: ansible.builtin.template:
src: "./veth/connect-pod-service@.path.j2" src: "./veth/connect-pod-service@.path"
dest: "/etc/systemd/system/connect-pod-service@.path" dest: "/etc/systemd/system/connect-pod-service@.path"
mode: 0644 mode: 0644
register: services_setup_system_connect_pod_service_path_file register: services_setup_system_connect_pod_service_path_file

View File

@ -9,7 +9,7 @@
- name: "{{ services_service_name }} : podman : configure podman storage" - name: "{{ services_service_name }} : podman : configure podman storage"
ansible.builtin.template: ansible.builtin.template:
src: "./podman/storage.conf.j2" src: "./podman/storage.conf"
dest: "{{ services_service_user_home }}/.config/containers/storage.conf" dest: "{{ services_service_user_home }}/.config/containers/storage.conf"
mode: 0644 mode: 0644
register: services_setup_user_containers_storage register: services_setup_user_containers_storage

View File

@ -1,7 +1,7 @@
--- ---
- name: "{{ services_service_name }} : veth : configure interface" - name: "{{ services_service_name }} : veth : configure interface"
ansible.builtin.template: ansible.builtin.template:
src: "./veth/interface.j2" src: "./veth/interface"
dest: "/etc/network/interfaces.d/{{ services_service_iface_name }}" dest: "/etc/network/interfaces.d/{{ services_service_iface_name }}"
mode: 0644 mode: 0644
validate: > validate: >

View File

@ -1,7 +1,7 @@
--- ---
- name: "scrub : zpool status mail script" - name: "scrub : zpool status mail script"
ansible.builtin.template: ansible.builtin.template:
src: "./scrub/systemd-mail-zpool-status.j2" src: "./scrub/systemd-mail-zpool-status"
dest: "/usr/local/sbin/systemd-mail-zpool-status" dest: "/usr/local/sbin/systemd-mail-zpool-status"
mode: 0755 mode: 0755

2
roles

@ -1 +1 @@
Subproject commit 29af37dd83840fecfdcb59e76e3d65c962228ac0 Subproject commit 024b0c7fcc129d832b2fa1933dcd12da4b25ea61