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
This role installs NGINX Open Source, NGINX Plus, the NGINX Amplify agent, the NGINX Controller agent, or NGINX Unit on your target host.
7
+
This role installs NGINX Open Source, NGINX Plus, the NGINX Amplify agent, or NGINX Unit on your target host.
8
8
9
9
**Note:** This role is still in active development. There may be unidentified issues and the role variables may change as development continues.
10
10
@@ -35,7 +35,7 @@ Use `git clone https://github.com/nginxinc/ansible-role-nginx.git` to pull the l
35
35
Platforms
36
36
---------
37
37
38
-
The NGINX Ansible role supports all platforms supported by [NGINX Open Source](https://nginx.org/en/linux_packages.html#mainline), [NGINX Plus](https://www.nginx.com/products/technical-specs/), the [NGINX Amplify agent](https://github.com/nginxinc/nginx-amplify-doc/blob/master/amplify-faq.md#21-what-operating-systems-are-supported), the [NGINX Controller agent](https://docs.nginx.com/nginx-controller/technical-specs/#nginx-controller-agent-technical-specifications), and [NGINX Unit](https://unit.nginx.org/installation/#official-packages):
38
+
The NGINX Ansible role supports all platforms supported by [NGINX Open Source](https://nginx.org/en/linux_packages.html#mainline), [NGINX Plus](https://www.nginx.com/products/technical-specs/), the [NGINX Amplify agent](https://github.com/nginxinc/nginx-amplify-doc/blob/master/amplify-faq.md#21-what-operating-systems-are-supported), and [NGINX Unit](https://unit.nginx.org/installation/#official-packages):
39
39
40
40
**NGINX Open Source**
41
41
@@ -143,33 +143,6 @@ RedHat:
143
143
- 7
144
144
```
145
145
146
-
**NGINX Controller Agent**
147
-
148
-
```yaml
149
-
Amazon Linux:
150
-
versions:
151
-
- 2017.09
152
-
Amazon Linux 2:
153
-
versions:
154
-
- LTS
155
-
CentOS:
156
-
versions:
157
-
- 6
158
-
- 7
159
-
Debian:
160
-
versions:
161
-
- jessie
162
-
- stretch
163
-
Ubuntu:
164
-
versions:
165
-
- xenial
166
-
- bionic
167
-
RedHat:
168
-
versions:
169
-
- 6
170
-
- 7
171
-
```
172
-
173
146
**NGINX Unit**
174
147
175
148
```yaml
@@ -209,7 +182,6 @@ This role has multiple variables. The descriptions and defaults for all these va
- **[defaults/main/linux.yml](./defaults/main/linux.yml):** Linux installation variables
@@ -400,34 +372,6 @@ This is a sample playbook file for deploying the Ansible Galaxy NGINX role in a
400
372
nginx_type: plus
401
373
```
402
374
403
-
This is a sample playbook file for deploying the Ansible Galaxy NGINX role in a localhost to install NGINX Plus and the NGINX Controller agent. Commented out
404
-
are sample variables to install the NGINX Controller agent from your NGINX Controller instance instead of the NGINX repository.
405
-
406
-
```yaml
407
-
- hosts: localhost
408
-
become: true
409
-
roles:
410
-
- role: nginxinc.nginx
411
-
vars:
412
-
nginx_type: plus
413
-
nginx_rest_api_enable: true
414
-
nginx_rest_api_port: 80
415
-
nginx_rest_api_write: true
416
-
nginx_controller_enable: true
417
-
nginx_controller_source: repository
418
-
nginx_controller_api_key: <API_KEY_HERE>
419
-
nginx_controller_endpoint: <FQDN> # e.g. controller.nginx.com
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.
432
376
433
377
```yaml
@@ -448,6 +392,11 @@ To run any of the above sample playbooks create a `setup-nginx.yml` file and pas
448
392
449
393
Alternatively, you can also clone this repository instead of installing it from Ansible Galaxy. If you decide to do so, replace the role variable in the previous sample playbooks from `nginxinc.nginx` to `ansible-role-nginx`.
450
394
395
+
Other NGINX Roles
396
+
-----------------
397
+
398
+
You can find an Ansible collection of roles to help you install and configure NGINX Controller [here](https://github.com/nginxinc/ansible-collection-nginx_controller)
0 commit comments