diff --git a/roles/nginx/tasks/main.yml b/roles/nginx/tasks/main.yml index 36956d45e..be2772ad9 100644 --- a/roles/nginx/tasks/main.yml +++ b/roles/nginx/tasks/main.yml @@ -6,7 +6,7 @@ - { src: "server.conf",dest: "/etc/nginx/" } - { src: "nginx.conf",dest: "/etc/nginx/" } - { src: "usb-lib.conf",dest: "/etc/nginx/conf.d/" } - - { src: "admin-console.ini",dest: "/etc/uwsgi/apps-enabled/" } +# - { src: "admin-console.ini",dest: "/etc/uwsgi/apps-enabled/" } # the above should be enough once uwsgi is started # - { src: "uwsgi.unit",dest: "/etc/systemd/system/uwsgi.socket" } - { src: 'ports.conf' , dest: '/etc/{{ apache_service }}/' , mode: '0644' } @@ -73,9 +73,9 @@ enabled: true when: nginx_enabled -- name: Enable the uwsgi systemd service - systemd: - name: uwsgi - state: restarted - enabled: true - when: admin_console_enabled and nginx_enabled +#- name: Enable the uwsgi systemd service +# systemd: +# name: uwsgi +# state: restarted +# enabled: true +# when: admin_console_enabled and nginx_enabled