Nginx conf template + ATON changes
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
update_cache: yes
|
||||
|
||||
- name: Copy nginx config file
|
||||
ansible.builtin.copy:
|
||||
src: nginx.conf
|
||||
dest: /etc/nginx/conf.d/test.conf
|
||||
ansible.builtin.template:
|
||||
src: nginx.conf.j2
|
||||
dest: "/etc/nginx/conf.d/{{ nginx_server_name }}.conf"
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
|
||||
Reference in New Issue
Block a user