Commit Graph

100 Commits

Author SHA1 Message Date
Alessandro Fael Garcia
fa9f2ae5af
Merge pull request #37 from nginxinc/(feature)/unit
(feature)/unit
2018-06-27 16:13:34 -07:00
Alessandro Fael Garcia
7c66da1ee4 Fix Ubuntu Artful and Ubuntu Bionic Dockerfiles
Explicitly install init dependency
2018-06-27 15:13:17 -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
bd0c581ac1 Refactor installation of NGINX Unit modules
Use a list that lets users specify which modules they want to install instead of installing all modules available in each distro
2018-06-27 13:16:57 -07:00
Alessandro Fael Garcia
3a8e36e636 Fix Debian/RedHat setup
* Change yum repository from nginx to unit
* Remove apt task causing ansible to be non-idempotent
2018-06-27 11:07:35 -07:00
Alessandro Fael Garcia
6bba55e4a2 Add tests 2018-06-26 16:41:35 -07:00
Alessandro Fael Garcia
2679ee6cb7 Add Ubuntu Bionic to supported platforms list 2018-06-26 16:29:31 -07:00
Alessandro Fael Garcia
a6d54c858e Merge CentOS and RedHat tasks 2018-06-26 16:26:24 -07:00
Alessandro Fael Garcia
02db93d432 Merge branch 'master' into (feature)/unit
Bring the (feature)/unit branch up to date with the master branch
2018-06-25 14:35:09 -07:00
Alessandro Fael Garcia
ba092d09ef
Merge pull request #34 from nginxinc/(feature)/select-repositories
Implement support to select NGINX repository
2018-05-14 12:23:43 -07:00
Alessandro Fael Garcia
8e3ca5e5a0 Use Ansible ternary operator instead of J2 conditionals 2018-05-14 11:31:46 -07:00
Alessandro Fael Garcia
c1a4eb6a99 Fix Travis 2018-05-11 16:06:53 -07:00
Alessandro Fael Garcia
75939983e1 Add stable branch test playbook 2018-05-11 15:48:17 -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
033da6684c Fix indentation 2018-05-10 13:17:37 -07:00
Alessandro Fael Garcia
ce880e5731 Refactor NGINX Unit packages into a separate file 2018-05-10 13:03:22 -07:00
Alessandro Fael Garcia
aef307f5a2
Merge pull request #33 from nginxinc/(feature)/implement-oss-freebsd
Implement FreeBSD support for NGINX Open Source
2018-05-09 15:09:33 -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
a231ea8a10
Merge pull request #22 from nginxinc/(feature)/improve-testing
Improve Travis CI testing strategy:
* Support and test multiple environments via Docker
* Check that sample playbooks are deployed correctly
2018-04-18 14:25:36 -07:00
Alessandro Fael Garcia
5d291c3943 Refactor .travis.yml 2018-04-18 13:18:48 -07:00
Alessandro Fael Garcia
95801b7939
Merge pull request #29 from nginxinc/(feature)/use-backup-option
Use copy/template backup parameter
2018-04-17 17:25:15 -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
c7cd4848e8
Merge pull request #28 from nginxinc/(bug)/fix-stat
Fix stat path
2018-04-17 16:28:28 -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
8bb9b41f02
Merge pull request #27 from nginxinc/(bug)/fix-stat-path
Fix stat path
2018-04-17 15:30:07 -07:00
Alessandro Fael Garcia
c545949653 Fix stat path
Use the path for nginx.conf instead of default.conf
2018-04-17 15:21:07 -07:00
Alessandro Fael Garcia
67e35f456a
Merge pull request #26 from nginxinc/(bug)/replace-upload-variables
Replace *_upload_* with *_push_*
2018-04-17 14:38:44 -07:00
Alessandro Fael Garcia
05fcff7986 Replace *_upload_* with *_push_* 2018-04-17 14:30:43 -07:00
Alessandro Fael Garcia
dab0e5d16f
Merge pull request #25 from nginxinc/(bug)/check-file-exists
Check if configuration file is defined
2018-04-16 16:46:05 -07:00
Alessandro Fael Garcia
e20dd288bf Check if configuration file is defined 2018-04-16 16:41:46 -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
a8aeee176f
Merge pull request #24 from nginxinc/(bug)/merge-config-upload-variable
Replace *_upload_enable with *_push_enable
2018-04-16 15:40:26 -07:00
Alessandro Fael Garcia
5c7924618a Replace *_upload_enable with *_push_enable
Fixes #23
2018-04-16 15:26:33 -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
722b99d766 Install dirmngr dependency 2018-04-13 17:10:29 -07:00
Alessandro Fael Garcia
408b09222c Replace gnupg1 by gnupg2 2018-04-13 16:57:39 -07:00
Alessandro Fael Garcia
68f4939d0f Install gnupg1 dependency 2018-04-13 16:47:07 -07:00
Alessandro Fael Garcia
42c1be1b24 Install curl depency in Debian based containers 2018-04-13 16:11:25 -07:00
Alessandro Fael Garcia
cb33749393 Fix Dockerfiles syntax 2018-04-13 15:59:19 -07:00
Alessandro Fael Garcia
51cd432317 Fix Dockerfiles
* Install apt-transport-https depency in Debian based containers
* Test different CMD instruction in CentOS 6 container
2018-04-13 15:53:19 -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
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