Commit Graph

47 Commits

Author SHA1 Message Date
Alessandro Fael Garcia
a9451a60c7
Ignore Ansible lint warning (#418) 2021-06-09 17:46:49 +02:00
Alessandro Fael Garcia
fb391a09cc
Replace "yes"/"no" boolean values with "true"/"false" (#414) 2021-06-02 17:47:44 +02:00
Alessandro Fael Garcia
5e918e61e2
Remove NGINX configuration features from role (#353) 2020-12-23 15:03:22 +01:00
Alessandro Fael Garcia
a11e457816
Remove NGINX Unit from role (#348) 2020-11-13 21:57:28 +01:00
Alessandro Fael Garcia
3fb69de2b9
Fix NGINX Plus license removal option (#340) 2020-11-05 15:37:40 +01:00
Alessandro Fael Garcia
a49765b55e
Do not fail when assert module fails (#330) 2020-09-22 17:50:07 +02:00
Alessandro Fael Garcia
2ca5ce87b5
Remove extra quotes (#326) 2020-09-19 17:32:17 +02:00
Alessandro Fael Garcia
17b5c87d71
Add basic assertions (#319) 2020-09-15 21:27:06 +02:00
Alessandro Fael Garcia
9b9b3e8dd3
Refactor modules (#315) 2020-09-08 00:44:54 +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
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
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
Seena Fallah
3db516413e
Add custom logrotate config (#251) 2020-05-19 22:51:08 +02: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
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
Vladimir Botka
fd88f4cb22 Tags added to main.yml (#186)
* Tags added to each import_tasks in main.yml
2019-11-19 15:47:29 +01:00
Thomas Boros
af54ab1401 Fix module installation when with plus (#162)
* Fixes module installation when nginx_delete_license is set to true with plus license
2019-10-03 18:10:51 +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
Alessandro Fael Garcia
f3ec78e7ae Add support to the role for RHEL 8 and Alpine Linux (#129)
* Add support to the role for RHEL 8 and Alpine Linux

* Add NGINX Open Source support for Alpine Linux

* Add NGINX Open Source support for SLES 15

* Update supported platforms matrix
2019-05-20 17:32:08 +01:00
Christopher Blanchard
a7d3164ba1 Amplify installation fixes (#113)
* Remove syntax error

When evaluated (i.e. when nginx_amplify_enable=true and
nginx_amplify_api_key is defined) this line causes a syntax error

To check for empty string, opted for temporary solution outlined in https://github.com/ansible/ansible-lint/issues/457

* Fix reference to amplify api key

Previously was labelled `amplify_api_key`. Changed to
`nginx_amplify_api_key` in #a55a50d

* Fix reference to default config file

On my system at least (bionic), the default configuration file is
`/etc/amplify-agent/agent.conf.default`

This is also assumed be to the case on the amplify install shell script https://github.com/nginxinc/nginx-amplify-agent/blob/master/packages/install.sh#L526
2019-04-08 14:27:36 +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
Alessandro Fael Garcia
c2cdc68ec3
Improve Ansible Galaxy metadata score (#79) 2018-12-21 15:17:00 +01:00
Alessandro Fael Garcia
c07792daee Add extra checks for when the nginx repo is needed. 2018-10-18 21:39:36 +02:00
Alessandro Fael Garcia
42d1937b3a Add extra checks for when the nginx repo is needed. 2018-10-18 21:39:10 +02:00
gusttt
fe32888347 Only add repository key when nginx_repository is used.
Fix #68
2018-10-18 08:41:53 +02: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
27c4069646 Fix module variable name 2018-09-14 17:53:08 -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
a55a50d570 Refactor NGINX Amplify agent installation 2018-09-12 14:03:20 -07:00
Alessandro Fael Garcia
809b9e3580 Fix variables in main task 2018-09-12 12:16:04 -07:00
Alessandro Fael Garcia
ef1294b91c Install NGINX Controller agent 2018-09-10 16:05:25 -07:00
Alessandro Fael Garcia
795e5a20c2
Merge pull request #50 from nginxinc/(feature)/install-prerequisites
Install Debian dependencies
2018-08-03 11:23:25 -07:00
Alessandro Fael Garcia
19a080925b Install Debian dependencies
Fixes #44
2018-08-02 15:56:25 -07:00
Alessandro Fael Garcia
3a82651d42 Refactor and fix module installation
Fixes #46 and #48
2018-08-02 12:51:45 -07:00
Alessandro Fael Garcia
c57e0a79d2 Add nginx_enable variable
Users can now choose to only install NGINX Unit
2018-07-11 15:41:10 -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
147410ab03 Refactor templates
Refactor template variables and configuration scripts
2018-02-20 12:28:14 -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
f6f1e0907c Upload simple/templated configuration files 2018-01-26 11:00:26 -08:00
Alessandro Fael Garcia
78a7e3efeb Multiple changes
* Add option to enable REST API
* Add option to enable live dashboard
* Add option to install WAF module
* Load modules in nginx.conf
* Improve version check for RedHat distros
2018-01-19 10:27:47 -08:00
Alessandro Fael Garcia
e2b83ac215 Initial role commit 2018-01-10 14:40:01 -08:00