You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-8Lines changed: 14 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -313,17 +313,23 @@ This is a sample playbook file for deploying the Ansible Galaxy NGINX role in a
313
313
- hosts: localhost
314
314
become: true
315
315
roles:
316
-
- nginxinc.nginx
316
+
- ansible-role-nginx
317
317
vars:
318
318
nginx_http_template_enable: true
319
319
nginx_http_template:
320
-
web_server:
321
-
locations:
322
-
default:
323
-
location: /
324
-
html_file_location: /usr/share/nginx/html
325
-
html_file_name: index.html
326
-
320
+
default:
321
+
template_file: http/default.conf.j2
322
+
conf_file_name: default.conf
323
+
conf_file_location: /etc/nginx/conf.d/
324
+
port: 80
325
+
server_name: localhost
326
+
error_page: /usr/share/nginx/html
327
+
web_server:
328
+
locations:
329
+
default:
330
+
location: /
331
+
html_file_location: /usr/share/nginx/html
332
+
html_file_name: index.html
327
333
```
328
334
329
335
This is a sample playbook file for deploying the Ansible Galaxy NGINX role in a localhost and installing the open source version of NGINX as a reverse proxy.
0 commit comments