Commit Graph

207 Commits

Author SHA1 Message Date
Alessandro Fael Garcia
2b72889d90 Test role across multiple distributions
Implement support to test the role in multiple Linux distributions by deploying Docker containers within Travis
2018-04-13 15:26:00 -07:00
Alessandro Fael Garcia
ae27bdcbed
Merge pull request #21 from nginxinc/(bug)/replace-conditional-check
Replace `&&` with `and`
2018-04-13 13:00:50 -07:00
Alessandro Fael Garcia
fd2e13bd69 Replace && with and 2018-04-13 12:53:38 -07:00
Alessandro Fael Garcia
5322316099
Merge pull request #19 from ienugr/master
Update --sudo arguments to --become since --sudo has been deprecated
2018-04-13 12:45:45 -07:00
Ismandra Eka Nugraha
c8342226df Add sudo:required to be able to run ansible 2018-04-13 16:11:39 +07:00
Ismandra Eka Nugraha
e5317544dd Change --sudo to --become since --sudo has been deprecated. 2018-04-13 15:57:56 +07:00
Alessandro Fael Garcia
9555ab9559 Update branding 2018-04-12 10:20:39 -07:00
Alessandro Fael Garcia
9c80941892 Only remove/backup nginx.conf when necessary 2018-04-12 10:05:43 -07:00
Alessandro Fael Garcia
e2cc1660cb
Merge pull request #14 from RDelorier/fix-template-path-bugs
Fix template path issues
2018-04-10 15:45:18 -07:00
Alessandro Fael Garcia
0ed9afb71a Add NGINX Unit documentation 2018-04-09 14:22:13 -07:00
Alessandro Fael Garcia
8a8f08a997 Add NGINX Unit variables
* Add unit_enable variable to install NGINX Unit
* Add unit_packages variable to determine whether NGINX Unit packages should be installed
2018-04-09 14:21:38 -07:00
Alessandro Fael Garcia
4723ffa447 Update README.md 2018-04-09 10:52:24 -07:00
Alessandro Fael Garcia
6f05bc4227
Merge pull request #18 from nginxinc/(feature)/refactor-rest-api
Refactor REST API deployment
2018-04-09 10:27:35 -07:00
Alessandro Fael Garcia
548fc3f9f3 Initial implementation of NGINX Unit 2018-04-06 16:32:48 -07:00
Alessandro Fael Garcia
6047a1107d Refactor REST API deployment
This refactor should fix #17 and ensure that api.conf only gets created when rest_api_enable is set to true and that api.conf gets created in the correct location
2018-04-06 16:29:49 -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
4fa9a51718
Merge pull request #16 from nginxinc/(bug)/only-deploy-api-when-enabled
Add conditional check
2018-04-05 16:05:05 -07:00
Alessandro Fael Garcia
e80ab120b7 Add conditional check
This conditional ensures that the NGINX API will only be deployed if enabled
2018-04-05 14:50:53 -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
714b2aac4e
Merge pull request #13 from RDelorier/master
Fix typo
2018-04-04 16:48:19 -07:00
Richard Delorier
6bedd81a49
Fix typo 2018-04-04 19:21:03 -04:00
Alessandro Fael Garcia
fd7a7fa592 Update README.md 2018-03-12 09:30:09 -07:00
Alessandro Fael Garcia
741804acfb
Merge pull request #12 from nginxinc/(bug)/fix-rpm-rhel
Change rpm module and add package check for RHEL/CentOS 7.4+
2018-03-05 15:41:24 -08:00
Alessandro Fael Garcia
5e3ad77986 Change rpm module and add package check for RHEL/CentOS 7.4+ 2018-03-05 14:57:04 -08:00
Alessandro Fael Garcia
af69957251
Merge pull request #11 from nginxinc/(feature)/replace-shell-module
Replace shell module with assemble module
2018-03-02 16:43:02 -08:00
Alessandro Fael Garcia
b66bc5d7aa Replace shell module with assemble module 2018-03-02 16:35:34 -08:00
Alessandro Fael Garcia
15385c9cb1 Minor formatting fix 2018-03-02 15:00:07 -08:00
Alessandro Fael Garcia
742a2adba4
Merge pull request #10 from nginxinc/(feature)/refactor-rhel-setup
Refactor rhel setup
2018-03-02 14:48:30 -08:00
Alessandro Fael Garcia
a5f88d9972 Refactor rhel setup 2018-03-02 14:27:00 -08:00
Alessandro Fael Garcia
10aaff3698 Update defaults and README.md
Improve the readability of the Ansible role defaults and README.md
2018-03-01 17:12:28 -08:00
Alessandro Fael Garcia
b64b421858
Merge pull request #9 from nginxinc/(feature)/switch-rpm-https
Switch to HTTPS for rpm_key module
2018-03-01 17:02:34 -08:00
Alessandro Fael Garcia
2fe4c93b45 Switch to HTTPS for rpm_key module 2018-03-01 16:58:10 -08:00
Alessandro Fael Garcia
2ad4e7ab5c
Merge pull request #8 from nginxinc/(bug)/replace-get-url-module
Replace get_url module
2018-03-01 16:20:01 -08:00
Alessandro Fael Garcia
add3bfba0b Replace get_url module
The get_url module has python 2.7 dependencies. This causes errors on distros that have strict python 2.6 dependencies. Replacing the get_url module with a hardcoded code block using the blockinfile module circumvents these errors.
2018-03-01 16:15:27 -08:00
Alessandro Fael Garcia
460a363734
Merge pull request #6 from nginxinc/(bug)/remove-redundant-check
Remove redundant check
2018-02-22 12:23:00 -08:00
Alessandro Fael Garcia
4a400fdf7a Remove redundant check
The main.yml task already checks for the waf variable - adding an additional check in install-waf.yml is redundant
2018-02-22 12:12:53 -08:00
Alessandro Fael Garcia
3a26924618
Merge pull request #5 from nginxinc/(feature)/refactor-templates
Refactor templates
2018-02-20 13:35:44 -08:00
Alessandro Fael Garcia
147410ab03 Refactor templates
Refactor template variables and configuration scripts
2018-02-20 12:28:14 -08:00
Alessandro Fael Garcia
4446ff2b88
Merge pull request #3 from nginxinc/(feature)/support-all-modules
Add support for all first party NGINX modules
2018-02-09 12:23:29 -08:00
Alessandro Fael Garcia
57cf10d3e4 Fix image filter module 2018-02-09 12:14:18 -08:00
Alessandro Fael Garcia
5771c1e8a4 Add support for all first party NGINX modules 2018-02-09 12:00:58 -08:00
Alessandro Fael Garcia
57cb9d69e8 Update metadata 2018-02-02 14:05:40 -08:00
Alessandro Fael Garcia
be7788674d Fix setup-redhat.yml task names 2018-01-31 14:41:12 -08:00
Alessandro Fael Garcia
2357c80bba
Merge pull request #2 from nginxinc/(bug)/fix-setup-redhat
Setup CentOS/RHEL repositories correctly
2018-01-31 14:23:02 -08:00
Alessandro Fael Garcia
ff96678872 Setup CentOS/RHEL repositories correctly
Fixes #1
2018-01-31 14:12:25 -08:00
Alessandro Fael Garcia
36ff2ef38c Remove default configuration files 2018-01-26 14:24:02 -08:00
Alessandro Fael Garcia
9debdeeaa4 Remove test comments 2018-01-26 11:27:56 -08:00
Alessandro Fael Garcia
f6f1e0907c Upload simple/templated configuration files 2018-01-26 11:00:26 -08:00
Alessandro Fael Garcia
c06b7320ad Fix typo in README.md 2018-01-20 13:19:47 -08:00