Commit Graph

361 Commits

Author SHA1 Message Date
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
968bf3e10c
Update docs (#283) 2020-07-10 17:55:01 +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
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
Alessandro Fael Garcia
c1b707cc5b
Add default values for PID and error log (#277) 2020-06-30 22:39:25 +02:00
Tom Gamull
7e6a7f0397
Triple S!!! Speed, Systemd and Selinux (#272) 2020-06-30 18:59:53 +02:00
Marco Tizzoni
f3c8bd2b70
Fix error when http_demo_conf undefined (#274) 2020-06-29 15:56:45 +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
Seena Fallah
7822449f25
Fix bug on debian logrotate scripts (#260)
prerotate isn't working if there is no httpd-prerotate and it's no more needed and also postrotate can be kill -USR1
2020-06-10 21:22:44 +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
Fanch
b254348851
Allow proxy_http_version and websocket whithout proxy_set_header (#256) 2020-05-29 18:00:26 +02:00
Estefano Gonçalves
5a35dc3271
Add ssl_ecdh_curve and ssl_buffer_size directives (#252) 2020-05-25 13:59:38 +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
d51bacda43
Issue238 - validate configs (#241) 2020-04-21 20:52:31 +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
Philip Henning
5ac87644a8
Add implementation of ngx_http_sub_module config (#216) 2020-02-14 15:54:31 -08:00
Alessandro Fael Garcia
9fba82755f
Add OS family check (#224) 2020-02-04 17:11:16 +01:00
Alessandro Fael Garcia
1afb425c19
Update copyright year (#221) 2020-01-29 19:37:09 +01:00
Alessandro Fael Garcia
60afd2089d
Update minimum Ansible version (#220) 2020-01-29 17:08:33 +01:00
Alessandro Fael Garcia
ff010179bc
Add Ansible and Molecule versions to Travis (#217)
Always pulling the latest version may lead to some issues. Versions should only be updated after successfully testing the latest release.
2020-01-18 15:50:54 +01:00
Seena Fallah
0b176f847a Make ssl optional for listeners (#215) 2020-01-09 16:40:36 +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
b5baf3a2ae
Improve documentation (#206)
* Create CONTRIBUTING.md
* Add PR template
* Tweak .yamllint
* Update README playbook examples
2019-12-13 12:11:30 -08:00
Alessandro Fael Garcia
36ba93a5d7
Create CODE_OF_CONDUCT.md 2019-12-12 14:22:11 -08:00
Alessandro Fael Garcia
34899a6b15 Update issue templates 2019-12-12 12:44:40 -08: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
905d6c7531
Let users define the target https redirect variable (#203)
Fixes #153
2019-12-06 20:51:11 -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
Vladimir Botka
c2c0bb990a Split defaults/main.yml to more files in directory defaults/main (#200) 2019-12-06 13:37:16 -08:00
Vladimir Botka
cc4311dd05 Configure min_ansible_version (#201) 2019-11-29 03:32:17 +00:00
Pritpal Sabharwal
f56855bd16 Don't enforce the use of lb_method in upstream. (#199) 2019-11-29 03:21:32 +00:00