Merge pull request #26 from nginxinc/(bug)/replace-upload-variables

Replace *_upload_* with *_push_*
This commit is contained in:
Alessandro Fael Garcia 2018-04-17 14:38:44 -07:00 committed by GitHub
commit 67e35f456a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@
- name: "(Setup: All NGINX) Upload NGINX Main Configuration File" - name: "(Setup: All NGINX) Upload NGINX Main Configuration File"
copy: copy:
src: "{{ main_upload_location }}" src: "{{ main_push_location }}"
dest: /etc/nginx/nginx.conf dest: /etc/nginx/nginx.conf
notify: "(Handler: All OSs) Reload NGINX" notify: "(Handler: All OSs) Reload NGINX"
when: main_push_enable when: main_push_enable
@ -36,9 +36,9 @@
src: "{{ item }}" src: "{{ item }}"
dest: /etc/nginx/conf.d/http dest: /etc/nginx/conf.d/http
with_fileglob: with_fileglob:
- "{{ http_upload_location }}" - "{{ http_push_location }}"
notify: "(Handler: All OSs) Reload NGINX" notify: "(Handler: All OSs) Reload NGINX"
when: http_push_enablee when: http_push_enable
- name: "(Setup: All NGINX) Ensure NGINX Stream Directory Exists" - name: "(Setup: All NGINX) Ensure NGINX Stream Directory Exists"
file: file:
@ -51,6 +51,6 @@
src: "{{ item }}" src: "{{ item }}"
dest: /etc/nginx/conf.d/stream dest: /etc/nginx/conf.d/stream
with_fileglob: with_fileglob:
- "{{ stream_upload_location }}" - "{{ stream_push_location }}"
notify: "(Handler: All OSs) Reload NGINX" notify: "(Handler: All OSs) Reload NGINX"
when: stream_push_enable when: stream_push_enable