@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Template the nginx config file with dynamic upstreams
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: templates/nginx.conf.j2
|
||||
dest: "{{ nginx_config_path }}"
|
||||
owner: root
|
||||
@@ -13,7 +13,7 @@
|
||||
k3s_server_ips: "{{ k3s.server.ips }}"
|
||||
|
||||
- name: Enable nginx
|
||||
systemd:
|
||||
ansible.builtin.systemd:
|
||||
name: nginx
|
||||
daemon_reload: true
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user