Commit 315bde6e by John Jarvis

bugs in the nginx task file

parent cc6724b2
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
- install - install
- name: nginx | Creating common nginx configuration - name: nginx | Creating common nginx configuration
template: src={{ item }} dest=/etc/nginx/sites-available/edx-release.j2 owner=root group=root mode=0600 template: src=edx-release.j2 dest=/etc/nginx/sites-available/edx-release owner=root group=root mode=0600
notify: nginx | reload nginx notify: nginx | reload nginx
tags: tags:
- nginx - nginx
...@@ -28,15 +28,15 @@ ...@@ -28,15 +28,15 @@
tags: tags:
- nginx - nginx
- name: nginx | Copying nginx config {{ site_name }} - name: nginx | Copying nginx configs for {{ nginx_sites }}
template: src={{ item }} dest=/etc/nginx/sites-available/{{ site_name }} owner=root group=root mode=0600 template: src={{ item }}.j2 dest=/etc/nginx/sites-available/{{ item }} owner=root group=root mode=0600
notify: nginx | reload nginx notify: nginx | reload nginx
with_items: nginx_sites with_items: nginx_sites
tags: tags:
- nginx - nginx
- name: nginx | Creating nginx config link {{ site_name }} - name: nginx | Creating nginx config links for {{ nginx_sites }}
file: src=/etc/nginx/sites-available/{{ site_name }} dest=/etc/nginx/sites-enabled/{{ site_name }} state=link owner=root group=root file: src=/etc/nginx/sites-available/{{ item }} dest=/etc/nginx/sites-enabled/{{ item }} state=link owner=root group=root
notify: nginx | reload nginx notify: nginx | reload nginx
with_items: nginx_sites with_items: nginx_sites
tags: tags:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment