Commit Graph

47 Commits

Author SHA1 Message Date
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
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
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
856a9c93bf
Add NGINX Plus tests (#318) 2020-09-09 16:10:42 +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
1a1fdc2962
Update Ansible Lint to 4.3.3 (#311) 2020-09-01 16:34: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
Alessandro Fael Garcia
3bcd7a0919
Prepare 0.15.0 release (#300) 2020-08-19 18:39:17 +02:00
Pavel Starosek
0922304b12
Add default_type templating option (#299) 2020-08-10 14:29:27 +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
Alessandro Fael Garcia
b7e25961d6
Refactor status templating (#288) 2020-07-22 16:19:43 +02:00
Alessandro Fael Garcia
838e756ab8
Improve support for listen and ssl directives in stream contexts (#287) 2020-07-21 17:26:42 +02:00
Alessandro Fael Garcia
730ab15ecb
Replace Molecule's Python verifier with the Ansible verifier (#285) 2020-07-20 13:37:36 +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
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
Pritpal Sabharwal
a0a49176a3
Add support for down parameter for upstreams (#278) 2020-07-06 14:36:34 +02:00
Emile Broeders
63325aac0b
Add option for custom error pages (#276) 2020-07-01 12:22:37 +02:00
Tom Gamull
7e6a7f0397
Triple S!!! Speed, Systemd and Selinux (#272) 2020-06-30 18:59:53 +02:00
Emile Broeders
21e03b27dd
Adding nginx_main_template.http_custom_includes (#270) 2020-06-24 15:50:28 +02:00
Alessandro Fael Garcia
902d4ff83f
Add PID templating option (#267) 2020-06-24 12:19:09 +02:00
Alessandro Fael Garcia
77ccf86255
Add access_log to status and API configuration files (#265) 2020-06-23 17:48:43 +02:00
Alessandro Fael Garcia
60796abcd5
Add support for unix upstreams (#266)
Resolves #232
2020-06-22 20:54:29 +02:00
heronimus
088a33b33a
Add CentOS/RedHat yum repository module_hotfixes option (#264) 2020-06-18 14:34:51 +02:00
Iyad Kandalaft
f76441f5d4
Add events_custom_options to template.yml defaults (#208)
Co-authored-by: Alessandro Fael Garcia <alessfg@hotmail.com>
2020-06-17 14:48:29 +02:00
Alessandro Fael Garcia
8ef117145f
Improve config cleanup tasks (#262) 2020-06-12 23:42:14 +02:00
Alessandro Fael Garcia
06b8f5a020
Remove semicolons from custom_options (#259)
This will fix custom blocks such as `if` blocks not working as intended unless a comment sign is added at the end of each line
2020-06-09 18:23:38 +02:00
Alessandro Fael Garcia
55c2f534ef
Add support for Ubuntu Focal (#258) 2020-06-08 15:46:01 +02:00
Alessandro Fael Garcia
19fcdf0158
Update docs (#257) 2020-06-04 13:05:38 +02:00
Seena Fallah
3db516413e
Add custom logrotate config (#251) 2020-05-19 22:51:08 +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
Philip Henning
5ac87644a8
Add implementation of ngx_http_sub_module config (#216) 2020-02-14 15:54:31 -08:00
Alessandro Fael Garcia
e4e68376f5 Add testing and use correct repository for CentOS/RHEL 8 2019-11-26 22:12:09 +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
Pritpal Sabharwal
cb014cdab4 Added proxy_cache_valid support (#192) 2019-11-25 22:51:54 +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
Alessandro Fael Garcia
59e0170313
Fix OSS Alpine installation and add Alpine test coverage (#190) 2019-11-22 15:52:34 +01:00
Alessandro Fael Garcia
16f21c5c7c
Optimise testing and fix CentOS GeoIP module (#185)
* Use slim Debian images for testing 
* Update `volume_mounts` to `volumes`
* Update and move default Dockerfile
* Use normal centos image
* Add epel-release prerequisite to CentOS modules
* Separate module and template tests
2019-11-21 19:53:30 +01:00
Alessandro Fael Garcia
41aeda300d
Add option to specify the version of NGINX to install (#177)
And remove outdated Debian Jessie Molecule tests
2019-11-03 15:07:38 +01:00
Alexander Maslov
cca5dbb37d Add server_tokens (#173) (#175) 2019-10-25 11:16:03 +02:00
Yuan-Yi Chang
a236c73af8 Add custom_options (#167) 2019-10-20 17:52:56 +02:00
Alessandro Fael Garcia
c6c133674e
Add templating options to logs (#169)
Resolves #152
2019-10-02 19:29:59 +02:00
Alessandro Fael Garcia
a92d424bdb
Add support for Debian Buster (#163)
Closes #151
2019-08-07 22:16:27 +02:00
Zeno Grandi
487a2d0c07 Use Molecule for testing (#158)
* Ported test playbooks to Molecule scenarios

* Update Travis integration

* Delete legacy tests
2019-08-03 12:53:21 +02:00