remove unicode space
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: 'nginx | push configuration'
|
- name: 'nginx | push configuration'
|
||||||
copy:
|
copy:
|
||||||
src: '{{ item }}'
|
src: '{{ item }}'
|
||||||
dest: /etc/nginx/conf.d/
|
dest: /etc/nginx/conf.d/
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
- nginx
|
- nginx
|
||||||
- nginx_configure
|
- nginx_configure
|
||||||
|
|
||||||
- name: 'nginx | push custom configuration'
|
- name: 'nginx | push custom configuration'
|
||||||
copy:
|
copy:
|
||||||
src: '{{ item }}'
|
src: '{{ item }}'
|
||||||
dest: /etc/nginx/conf.d/custom/
|
dest: /etc/nginx/conf.d/custom/
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: "nginx | apt update cache"
|
- name: "nginx | apt update cache"
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
cache_valid_time: 86400 #One day
|
cache_valid_time: 86400 #One day
|
||||||
|
|||||||
@@ -8,5 +8,5 @@
|
|||||||
- name: "nginx | status page"
|
- name: "nginx | status page"
|
||||||
include_tasks: status.yml
|
include_tasks: status.yml
|
||||||
|
|
||||||
- name: "nginx | configure vhost"
|
- name: "nginx | configure vhost"
|
||||||
include_tasks: vhost.yml
|
include_tasks: vhost.yml
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: "nginx | copy status vhost"
|
- name: "nginx | copy status vhost"
|
||||||
copy:
|
copy:
|
||||||
src: "status.conf"
|
src: "status.conf"
|
||||||
dest: "/etc/nginx/sites-available/00-status.conf"
|
dest: "/etc/nginx/sites-available/00-status.conf"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: 'nginx | configure vhosts'
|
- name: 'nginx | configure vhosts'
|
||||||
template:
|
template:
|
||||||
src: "{{ item.value.template | default('vhost.conf.j2') }}"
|
src: "{{ item.value.template | default('vhost.conf.j2') }}"
|
||||||
dest: "/etc/nginx/sites-available/{{ item.key }}.conf"
|
dest: "/etc/nginx/sites-available/{{ item.key }}.conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user