sync configuration for stream module changes in nginx 1.20.x
This commit is contained in:
		@@ -1,5 +1,6 @@
 | 
				
			|||||||
nginx:
 | 
					nginx:
 | 
				
			||||||
  nginx.conf: |
 | 
					  nginx.conf: |
 | 
				
			||||||
 | 
					    load_module '/usr/lib64/nginx/modules/ngx_stream_module.so';
 | 
				
			||||||
    user  nginx;
 | 
					    user  nginx;
 | 
				
			||||||
    worker_processes  {{ ansible_processor_count }};
 | 
					    worker_processes  {{ ansible_processor_count }};
 | 
				
			||||||
    error_log  /var/log/nginx/error.log debug;
 | 
					    error_log  /var/log/nginx/error.log debug;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,6 +4,7 @@
 | 
				
			|||||||
    package: 
 | 
					    package: 
 | 
				
			||||||
      name:
 | 
					      name:
 | 
				
			||||||
        - nginx
 | 
					        - nginx
 | 
				
			||||||
 | 
					        - nginx-mod-stream 
 | 
				
			||||||
      state: present
 | 
					      state: present
 | 
				
			||||||
    notify: start nginx
 | 
					    notify: start nginx
 | 
				
			||||||
    register: install_nginx_result
 | 
					    register: install_nginx_result
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user