Commit Graph

54 Commits

Author SHA1 Message Date
Alessandro Fael Garcia
ac5453e6fb
Allow NGINX version downgrades (#475) 2021-12-09 21:40:57 +01:00
Alessandro Fael Garcia
5f1fc18917
Improve uninstalling NGINX capabilities (#472) 2021-12-07 02:47:13 +01:00
Alessandro Fael Garcia
a4b858467a
Pin Alpine and Debian OSS repositories (#471) 2021-12-03 07:59:36 +01:00
Luiz Fernando Bosso
80df884533
Update PCRE ftp url (#468) 2021-11-19 00:58:55 +01:00
Sina Tak Tehrani
62db1bb0cc
Add static core modules support to installation from source (#448) 2021-10-07 14:05:04 +02:00
Alessandro Fael Garcia
3f101ba48b
Remove RHEL/CentOS 6 parameters given they have reached EOL (#451) 2021-10-06 01:41:24 +02:00
Alessandro Fael Garcia
894fe47c2c
Add support for installing NGINX OSS in Amazon Linux (#435) 2021-08-23 16:35:02 +02:00
Jurgen Verhasselt
3a63b9acf6
Add 'nginx_manage_repo' feature flag and defaults (#420)
Co-authored-by: Jurgen Verhasselt <hello@sjugge.be>
Co-authored-by: Jurgen Verhasselt <sjugge@inuits.eu>
2021-06-14 16:57:18 +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
d3cfac4ac8
Update the URL used to fetch the latest NGINX source version (#411) 2021-05-26 17:56:36 +02:00
Alessandro Fael Garcia
f4a1d37081
Add Alpine 3.13 to the list of NGINX Plus supported platforms (#391) 2021-04-27 23:34:48 +02:00
Alessandro Fael Garcia
94ccbe1dfb
Update Ansible collections (#390) 2021-04-21 17:59:48 +02:00
Alessandro Fael Garcia
6645e0856a
Switch dictionaries to individual variables (#349) 2020-11-17 19:02:21 +01:00
Alessandro Fael Garcia
ab76f7a797
Fix errors when using Ansible's check mode (#339) 2020-10-28 20:12:57 +01:00
Alessandro Fael Garcia
2ca5ce87b5
Remove extra quotes (#326) 2020-09-19 17:32:17 +02:00
Alessandro Fael Garcia
8b41c27cb5
Improve the error formatting when there's a syntax error (#324)
And remove the debug tasks messages.
2020-09-18 19:51:50 +02:00
Alessandro Fael Garcia
5c7cfb05fb
Remove scalars where I don't need em (#323) 2020-09-18 15:09:59 +02:00
Alessandro Fael Garcia
903693e67f
Refactor handlers (#321) 2020-09-17 17:00:27 +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
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
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
Alessandro Fael Garcia
fc4640bd4a
Improve formatting (#293) 2020-07-30 12:47:08 +02:00
Alessandro Fael Garcia
c85368e591
Add experimental support for Ubuntu focal (#292) 2020-07-28 12:26:38 +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
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
Tom Gamull
7e6a7f0397
Triple S!!! Speed, Systemd and Selinux (#272) 2020-06-30 18:59:53 +02:00
heronimus
088a33b33a
Add CentOS/RedHat yum repository module_hotfixes option (#264) 2020-06-18 14:34:51 +02:00
Alessandro Fael Garcia
55c2f534ef
Add support for Ubuntu Focal (#258) 2020-06-08 15:46:01 +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
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
8baa94e736
Add option to use/update to the latest version of NGINX (#202)
Resolves #132
2019-12-06 16:48:15 -08:00
Alessandro Fael Garcia
e4e68376f5 Add testing and use correct repository for CentOS/RHEL 8 2019-11-26 22:12:09 +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
Vladimir Botka
27d94628bd Separate installation of Linux and BSD (#182)
* Added variable nginx_linux_families: ['Debian', 'RedHat', 'Suse']
* Added variable nginx_bsd_systems: ['FreeBSD', 'NetBSD', 'OpenBSD', 'DragonFlyBSD', 'HardenedBSD']
* Handler started only in "not ansible_check_mode" to avoid --check failure when service hes not been installed yet
* Installation of Linux moved to install-oss-linux.yml
* Installation of BSD moved to install-oss-bsd.yml
* File setup-freebsd.yml deleted
2019-11-18 21:09:10 +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
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
Alessandro Fael Garcia
9fea522566 Fix more repository variables 2018-09-14 17:27:12 -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
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
4037b195ff Refactor repository into a variable 2018-05-11 15:12:06 -07:00
Alessandro Fael Garcia
98974fbf1a Implement support to select NGINX repository
Resolve #32 - Initial options include using the default NGINX packages included in the host system or using the NGINX packages included in the NGINX repository
2018-05-11 13:31:31 -07:00
Alessandro Fael Garcia
ea6de99eed Use portinstall module instead of package module 2018-05-09 14:05:57 -07:00
Alessandro Fael Garcia
70a2906268 Implement FreeBSD support for NGINX Open Source
Use FreeBSD ports instead of pkgng to fetch the latest version of NGINX Open Source
2018-05-09 13:31:16 -07:00
Alessandro Fael Garcia
be7788674d Fix setup-redhat.yml task names 2018-01-31 14:41:12 -08:00
Alessandro Fael Garcia
ff96678872 Setup CentOS/RHEL repositories correctly
Fixes #1
2018-01-31 14:12:25 -08:00