Commit Graph

145 Commits

Author SHA1 Message Date
Alessandro Fael Garcia
6645e0856a
Switch dictionaries to individual variables (#349) 2020-11-17 19:02:21 +01:00
Alessandro Fael Garcia
a11e457816
Remove NGINX Unit from role (#348) 2020-11-13 21:57:28 +01:00
Alessandro Fael Garcia
121312d346
Implement a new syntax to specify modules to be installed (#346) 2020-11-12 13:29:20 +01:00
Alessandro Fael Garcia
3fb69de2b9
Fix NGINX Plus license removal option (#340) 2020-11-05 15:37:40 +01:00
Alessandro Fael Garcia
ab76f7a797
Fix errors when using Ansible's check mode (#339) 2020-10-28 20:12:57 +01:00
Alessandro Fael Garcia
2715baca1e
Fix SELinux facts (#337) 2020-10-08 12:48:56 +02:00
Alessandro Fael Garcia
a49765b55e
Do not fail when assert module fails (#330) 2020-09-22 17:50:07 +02:00
Alessandro Fael Garcia
9760f98f05
Add NGINX Plus tests to TravisCI (#327) 2020-09-20 21:38:40 +02:00
Alessandro Fael Garcia
2ca5ce87b5
Remove extra quotes (#326) 2020-09-19 17:32:17 +02:00
Alessandro Fael Garcia
8b41c27cb5
Improve the error formatting when there's a syntax error (#324)
And remove the debug tasks messages.
2020-09-18 19:51:50 +02:00
Alessandro Fael Garcia
5c7cfb05fb
Remove scalars where I don't need em (#323) 2020-09-18 15:09:59 +02:00
Alessandro Fael Garcia
903693e67f
Refactor handlers (#321) 2020-09-17 17:00:27 +02:00
Alessandro Fael Garcia
28d1da5e0a
Add proper support for building NGINX from source in CentOS 6 (#320) 2020-09-16 18:58:32 +02:00
Alessandro Fael Garcia
17b5c87d71
Add basic assertions (#319) 2020-09-15 21:27:06 +02:00
Alessandro Fael Garcia
95fe871e69
Add support for Alpine 3.12 (#317)
And remove support for Alpine 3.8
2020-09-08 14:38:16 +02:00
Alessandro Fael Garcia
9b9b3e8dd3
Refactor modules (#315) 2020-09-08 00:44:54 +02:00
Alessandro Fael Garcia
bf2916fc55
Update Ansible to 2.9.12 and explicitly set mode on relevant tasks (#309)
*   Explicitly define `mode` in relevant tasks.
*   Explicitly define the `nginx` `apt_repository` filename in Debian based distros.
*   Building OpenSSL from source should now work properly in CentOS 8.
2020-08-28 10:30:23 +02:00
Seena Fallah
ab24604454
Run logrotate only logrotate config changes (#302) 2020-08-20 01:50:22 +02:00
Alessandro Fael Garcia
3bcd7a0919
Prepare 0.15.0 release (#300) 2020-08-19 18:39:17 +02:00
Alessandro Fael Garcia
fc4640bd4a
Improve formatting (#293) 2020-07-30 12:47:08 +02:00
Alessandro Fael Garcia
c85368e591
Add experimental support for Ubuntu focal (#292) 2020-07-28 12:26:38 +02:00
Alessandro Fael Garcia
b089b03811
Add option to remove a specific list of files (#291) 2020-07-27 23:33:56 +02:00
Alessandro Fael Garcia
36b42e563a
Cleanup source install and remove shell module tasks (#290) 2020-07-27 13:19:12 +02:00
Pavel Starosek
2fdb426e6c
Typo in Allow Rest API ports (#289) 2020-07-23 21:03:26 +02:00
Alessandro Fael Garcia
b7e25961d6
Refactor status templating (#288) 2020-07-22 16:19:43 +02:00
Alessandro Fael Garcia
e9b6c59733
Add separate variables for installing and configuring NGINX (#284) 2020-07-13 18:05:03 +02:00
Alessandro Fael Garcia
857ba8c899
Replace with_items with loop (#282)
`loop` is now the recommended way to loop through lists instead of `with_items`
2020-07-08 14:55:15 +02:00
Alessandro Fael Garcia
6ac3cbac98
Remove arch descriptor from Debian/Ubuntu src repo (#281) 2020-07-07 18:42:00 +02:00
Alessandro Fael Garcia
e51f977a2c
Remove root HTML tasks from source install (#280)
NGINX automatically creates a root HTML site when installing from source
2020-07-07 15:52:53 +02:00
Alessandro Fael Garcia
7341b2ec64
Flush handlers before running nginx -T and setting up logrotate (#279) 2020-07-07 10:44:13 +02:00
Tom Gamull
7e6a7f0397
Triple S!!! Speed, Systemd and Selinux (#272) 2020-06-30 18:59:53 +02:00
Alessandro Fael Garcia
77ccf86255
Add access_log to status and API configuration files (#265) 2020-06-23 17:48:43 +02:00
heronimus
088a33b33a
Add CentOS/RedHat yum repository module_hotfixes option (#264) 2020-06-18 14:34:51 +02:00
Alessandro Fael Garcia
8ef117145f
Improve config cleanup tasks (#262) 2020-06-12 23:42:14 +02:00
Alessandro Fael Garcia
55c2f534ef
Add support for Ubuntu Focal (#258) 2020-06-08 15:46:01 +02:00
Seena Fallah
3db516413e
Add custom logrotate config (#251) 2020-05-19 22:51:08 +02:00
Aleksey Shirokih
5a7731735b
Restrict logging certificate content in diff mode (#242) 2020-04-22 14:59:07 +02:00
Tom Gamull
301416a9c9
Issue239 - fix nginx_version in module install (#240) 2020-04-18 00:40:35 +02:00
Tom Gamull
2289b6a070
Buildfromsource (#233)
* Add build from source option

* Update to Molecule 3.0

* Add service manager to Debian images

* Add .gitignore entry for Ansible retry files

Co-authored-by: Alessandro Fael Garcia <alessfg@hotmail.com>
2020-03-25 18:43:32 +01:00
Alessandro Fael Garcia
d0548a7b0b
Remove NGINX Controller agent tasks (#228)
There's now a separate collection of NGINX Controller roles that can be found at https://github.com/nginxinc/ansible-collection-nginx_controller making the task in this role obsolete
2020-02-28 16:11:29 +01:00
Alessandro Fael Garcia
9fba82755f
Add OS family check (#224) 2020-02-04 17:11:16 +01:00
Alessandro Fael Garcia
d661ff4db9
Only add Debian repositories when installing role in amd64 archs (#212) 2019-12-30 18:46:15 +01:00
erbap
50a6338a35 apt update (after installation from the nginx repo) gives an err… (#211) 2019-12-27 16:07:49 +00:00
Alessandro Fael Garcia
f54b7d2f90
Add new method to install the NGINX Controller agent (#205) 2019-12-11 18:25:20 -08:00
Alessandro Fael Garcia
3b6c744166
Delete NGINX Plus repository when license is deleted (#204)
This fixes a bug when only the license is deleted, making system updates fail since the NGINX Plus repository is still within the repositories list yet there is no license to authenticate to the repository
2019-12-11 12:45:12 -08:00
Alessandro Fael Garcia
8baa94e736
Add option to use/update to the latest version of NGINX (#202)
Resolves #132
2019-12-06 16:48:15 -08:00
Alessandro Fael Garcia
e4e68376f5 Add testing and use correct repository for CentOS/RHEL 8 2019-11-26 22:12:09 +01:00
Vladimir Botka
31beec2e7b NGINX Plus separate installation of Linux and FreeBSD (#193)
* Added variable nginx_plus_linux_families: ['Alpine', 'Debian', 'RedHat', 'Suse']
* Added variable nginx_plus_bsd_systems: ['FreeBSD']
* Added variable nginx_freebsd_extra_packages: ['security/ca_root_nss']
* Installation of Linux moved to install-plus-linux.yml
* Installation of FreeBSD moved to install-plus-bsd.yml
* Installation of nginx_freebsd_extra_packages moved to tasks/prerequisites/setup-freebsd.yml
* Installation of NGINX Plus tested with FreeBSD 12.0; Lint passed
2019-11-26 14:15:55 +01:00
Seena Fallah
1771878e9e Add multiple servers for reverse proxy template (#194)
* Change custom options to better reflect multiple server support
2019-11-26 00:46:03 +01:00
Alessandro Fael Garcia
f6c48c12d6
Add Alpine tests to all molecule scenarios (#191)
* Use distro specific Ansible modules to install NGINX

* Install NGINX directly in Alpine distributions from the official repository to avoid naming conflicts

* Set travis_wait parameter to max timeout setting
2019-11-24 02:10:55 +01:00