refactor: yml -> yaml

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-11-07 20:44:14 +01:00
parent 22c1b534ab
commit ef652fac20
115 changed files with 121 additions and 121 deletions

View File

@@ -0,0 +1,18 @@
---
- name: Template the nginx config file with dynamic upstreams
ansible.builtin.template:
src: templates/nginx.conf.j2
dest: "{{ k3s_loadbalancer_nginx_config_path }}"
owner: root
group: root
mode: "0644"
become: true
notify:
- Restart nginx
- name: Enable nginx
ansible.builtin.systemd:
name: nginx
daemon_reload: true
enabled: true
become: true