diff --git a/inventory/ghp/sample/group_vars/web_proxy.yaml b/inventory/ghp/sample/group_vars/web_proxy.yaml index 6656336..ed167c3 100644 --- a/inventory/ghp/sample/group_vars/web_proxy.yaml +++ b/inventory/ghp/sample/group_vars/web_proxy.yaml @@ -1,5 +1,6 @@ nginx: nginx.conf: | + load_module '/usr/lib64/nginx/modules/ngx_stream_module.so'; user nginx; worker_processes {{ ansible_processor_count }}; error_log /var/log/nginx/error.log debug; diff --git a/roles/nginx/tasks/install.yml b/roles/nginx/tasks/install.yml index 22581dc..bb8209e 100644 --- a/roles/nginx/tasks/install.yml +++ b/roles/nginx/tasks/install.yml @@ -4,6 +4,7 @@ package: name: - nginx + - nginx-mod-stream state: present notify: start nginx register: install_nginx_result