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
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,7 @@ This is a sample playbook file for deploying the Ansible Galaxy NGINX role in a
223
223
roles:
224
224
- role: nginxinc.nginx
225
225
vars:
226
-
- type: plus
226
+
type: plus
227
227
228
228
This is a sample playbook file for deploying the Ansible Galaxy NGINX role to a dynamic inventory containing the `nginx` tag.
229
229
@@ -233,16 +233,19 @@ This is a sample playbook file for deploying the Ansible Galaxy NGINX role to a
233
233
roles:
234
234
- role: nginxinc.nginx
235
235
236
-
This is a sample playbook file for deploying the Ansible Galaxy NGINX role in a localhost to install NGINX Unit and all NGINX Unit language packages.
236
+
This is a sample playbook file for deploying the Ansible Galaxy NGINX role in a localhost to install NGINX Unit and the PHP/Perl NGINX Unit language modules.
237
237
238
238
---
239
239
- hosts: localhost
240
240
become: true
241
241
roles:
242
242
- role: nginxinc.nginx
243
243
vars:
244
-
- unit_enable: true
245
-
- unit_packages: true
244
+
nginx_enable: false
245
+
unit_enable: true
246
+
unit_packages:
247
+
- unit-php
248
+
- unit-perl
246
249
247
250
To run any of the above sample playbooks create a `setup-nginx.yml` file and paste the contents. Executing the Ansible Playbook is then as simple as executing `ansible-playbook setup-nginx.yml`.
0 commit comments