Commit Graph

27 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
3bcd7a0919
Prepare 0.15.0 release (#300) 2020-08-19 18:39:17 +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
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
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
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
16f21c5c7c
Optimise testing and fix CentOS GeoIP module (#185)
* Use slim Debian images for testing 
* Update `volume_mounts` to `volumes`
* Update and move default Dockerfile
* Use normal centos image
* Add epel-release prerequisite to CentOS modules
* Separate module and template tests
2019-11-21 19:53:30 +01:00
Alessandro Fael Garcia
11bbdfeba8
Create Travis build matrix for molecule builds (#172)
* Create Travis build matrix for molecule builds

* Set env variables
2019-10-13 22:23:35 +04: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
898c5a5f9c Remove Ubuntu Artful test (#127)
* Remove Ubuntu artful test

* Remove Artful from Travis build matrix
2019-05-17 14:01:55 +01: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
1d3b03ea2b
Improve tests (#90)
* Update .travis.yml

* Create Travis build matrix

* Add nginx-modules.yml test playbook to Travis build matrix

* Improve template test playbook

* Change HTML template variables from Ansible to NGINX variables
2019-01-21 12:19:30 +01:00
Alessandro Fael Garcia
31c86e3a07 Update .travis.yml
Do not check localhost when running the NGINX Unit test playbook
2018-07-11 17:05:23 -07:00
Alessandro Fael Garcia
f13cf016a8 Add tests
Add Ubuntu Artful and Ubuntu Bionic tests to Travis
2018-06-27 13:36:26 -07:00
Alessandro Fael Garcia
6bba55e4a2 Add tests 2018-06-26 16:41:35 -07:00
Alessandro Fael Garcia
c1a4eb6a99 Fix Travis 2018-05-11 16:06:53 -07:00
Alessandro Fael Garcia
5d291c3943 Refactor .travis.yml 2018-04-18 13:18:48 -07:00
Alessandro Fael Garcia
1bedaa9e0c Remove global variable from Travis build matrix
Global variables rewrite each other on Travis instead of creating a build matrix
2018-04-16 15:56:56 -07:00
Alessandro Fael Garcia
60331d7b39 Use global environment variable in Travis build matrix 2018-04-16 13:46:19 -07:00
Alessandro Fael Garcia
4281c51dbc Create test playbooks 2018-04-16 13:28:32 -07:00
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
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
a7bea802da Add travis.yml 2018-01-10 14:46:32 -08:00