Commit Graph

22 Commits

Author SHA1 Message Date
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
b7e25961d6
Refactor status templating (#288) 2020-07-22 16:19:43 +02:00
Alessandro Fael Garcia
77ccf86255
Add access_log to status and API configuration files (#265) 2020-06-23 17:48:43 +02: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
78c21d4346
Add variable to set location of NGINX status conf file (#184) 2019-11-18 17:14:00 +01:00
Alessandro Fael Garcia
a92d424bdb
Add support for Debian Buster (#163)
Closes #151
2019-08-07 22:16:27 +02:00
Alessandro Fael Garcia
feda384b94 Improve role handling (#128)
* Improve role handling

* Add defaults to some tasks

* Improve template conditionals
2019-05-21 16:23:06 +01:00
Alan Downing
e0bbce9b7f Changing the API config to be a template 2019-02-28 14:27:18 -05:00
Alessandro Fael Garcia
589d668def Add parameter to cleanup existing NGINX configs (#103) 2019-02-15 14:51:09 +00:00
Alexander Rublev
f29d9c33f0 Allow setting basic parameters for proxy cache (#94)
* Add parameters for proxy cache
2019-02-12 15:12:40 +00:00
Timothy Allen
3a66e10a17 Basic stream template (#92)
* Add Stream template defaults
* Add stream default config template
* Added stream template variables
* Changed Ansible task to use new stream template
2019-02-06 12:39:48 +00:00
Alessandro Fael Garcia
13a847234e Refactor templating
* Add more advanced HTTP templating options
* Let users choose the upload destination when uploading files
* Implement the ability to print your NGINX configuration to your terminal after running a playbook
2018-10-16 11:52:04 -07:00
Alessandro Fael Garcia
d294779f8b Rename variables
All variables are now prefixed with `nginx` - resolves #57
2018-09-14 16:28:20 -07:00
Alessandro Fael Garcia
40d5b0bb2c Use copy/template backup parameter
Use the backup parameter in the copy/template modules instead of using a convoluted backup system
2018-04-17 17:21:31 -07:00
Alessandro Fael Garcia
b8657834f8 Fix stat path
Use the path for nginx.conf instead of default.conf
2018-04-17 16:25:37 -07:00
Alessandro Fael Garcia
e20dd288bf Check if configuration file is defined 2018-04-16 16:41:46 -07:00
Alessandro Fael Garcia
fd2e13bd69 Replace && with and 2018-04-13 12:53:38 -07:00
Alessandro Fael Garcia
9c80941892 Only remove/backup nginx.conf when necessary 2018-04-12 10:05:43 -07:00
Alessandro Fael Garcia
681395baad Backup/remove default.conf NGINX configuration file
Backup and then remove the default.conf configuration file created by NGINX upon initial installation
2018-04-06 16:05:23 -07:00
Alessandro Fael Garcia
8bf17d77c0 Fix path for all HTTP/Stream *.conf files
Change path in all relevant tasks to ensure that HTTP and Stream NGINX *.conf files get uploaded/created in the right directory
2018-04-05 14:32:37 -07:00
rickydelorier
fb36b5b643 Fix template path issues 2018-04-04 19:48:31 -04:00
Alessandro Fael Garcia
147410ab03 Refactor templates
Refactor template variables and configuration scripts
2018-02-20 12:28:14 -08:00