Skip to content

Commit 19fcdf0

Browse files
authored
Update docs (#257)
1 parent b254348 commit 19fcdf0

File tree

6 files changed

+241
-281
lines changed

6 files changed

+241
-281
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ Describe the use case and detail of the change. If this PR addresses an issue on
55
Before creating a PR, run through this checklist and mark each as complete.
66

77
- [ ] I have read the [CONTRIBUTING](https://github.com/nginxinc/ansible-role-nginx/blob/master/CONTRIBUTING.md) document
8-
- [ ] I have added Molecule tests that prove my fix is effective or that my feature works
8+
- [ ] If necessary, I have added Molecule tests that prove my fix is effective or that my feature works
99
- [ ] I have checked that all unit tests pass after adding my changes
1010
- [ ] If required, I have updated necessary documentation (`defaults/main/` and `README.md`)

CHANGELOG.md

Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
# Changelog
2+
3+
## 0.14.0
4+
5+
This is a relatively minor release, but it includes a potential breaking change (hence the version bump). The one major new feature is the ability to install/build NGINX Open Source from source.
6+
7+
Features:
8+
9+
* Install/build NGINX from source options now available
10+
* Implement NGINX http sub module templating
11+
* NGINX config is now correctly validated each run
12+
* SSL Private Key data is hidden when running the role with the --diff flag
13+
14+
Bug fixes:
15+
16+
* The role should no longer sporadically cause apt update to fail in amd64 systems when installing NGINX from an official repository
17+
* Modules should now correctly install when using a specific NGINX Plus version
18+
19+
Breaking changes:
20+
21+
* The NGINX Controller agent can no longer be installed using this role. Please use the Ansible collection linked in the README
22+
23+
## 0.13.0
24+
25+
Features:
26+
27+
* Improve NGINX http templating:
28+
* Multiple server support in HTTP contexts
29+
* Header support
30+
* OCSP stapling
31+
* Improved proxy settings
32+
* Logging settings
33+
* Improved SSL settings
34+
* Improved authentication settings
35+
* Max body size support
36+
* Improved listen templating
37+
* Switch to Molecule for testing
38+
* Add support for Debian Buster
39+
* Support for specifying which version of NGINX to install
40+
* Split default variables into multiple functional files
41+
* Improve support for Alpine distributions
42+
* Support for updating or removing NGINX from your system
43+
* Implemented tags to support running specific tasks instead of the whole role
44+
45+
Bug fixes:
46+
47+
* Module installation when using NGINX Plus has been fixed
48+
* Websockets templating has been reenabled after being accidentally deleted
49+
* When deleting your NGINX Plus license from the system, the NGINX Plus repository will also be deleted to prevent issues further down the line if you run a repository update since there will not be a license anymore to authenticate into the NGINX Plus repository.
50+
51+
Breaking changes:
52+
53+
* The new listen templating options are not backwards with the previous listen templating options. Check the `README` or `molecule/template_module/playbook.yml` for examples on how to use the new listen template.
54+
* BSD and Linux NGINX installation tasks have undergone some major changes. As such, you may have to update your playbooks accordingly.
55+
56+
## 0.12.0
57+
58+
Features:
59+
60+
* Improve NGINX http templating - following parameters are now supported:
61+
* Websockets
62+
* Basic authentication
63+
* Proxy cache
64+
* Proxy redirect
65+
* Proxy timeouts
66+
* SSL
67+
* Root (in server context)
68+
* Add basic NGINX stream templating
69+
* Add support for RHEL 8 and Alpine Linux
70+
71+
Bug fixes:
72+
73+
* Fix module installation tasks
74+
75+
## 0.11.0
76+
77+
Features:
78+
79+
* Allow setting a custom apt and rpm signing key host
80+
* Add support for enabling an http to https redirects
81+
* Add ansible_managed to templates
82+
* Rename html_app_name to web_server_name
83+
* Rename load_balancer block to reverse_proxy
84+
* Allow setting the listen port when using SSL
85+
* Improve SSL defaults
86+
* Allow setting http or https server locations in proxy_pass
87+
88+
Bug fixes:
89+
90+
* Ignore undefined values for autoindex and health check
91+
* Clarify that the redirect variable refers to a http to https redirect
92+
93+
## 0.10.1
94+
95+
Bug fixes:
96+
97+
* Fix HTML template to use correct variable name
98+
99+
## 0.10.0
100+
101+
Features:
102+
103+
* Improve templating support for health checks, multiple location blocks, and auto indexing
104+
105+
Bug fixes:
106+
107+
* Fetching the NGINX signing key is now more reliable
108+
* Fixed HTML templating
109+
110+
## 0.9.0
111+
112+
Features:
113+
114+
* Refactor NGINX templating and file uploading
115+
* Add ability to upload and template HTML files
116+
* Add ability to upload SSL keys and certificates
117+
118+
## 0.8.0
119+
120+
Features:
121+
122+
* Add ability to install NGINX Plus Controller agent
123+
* Refactor installation of NGINX Amplify agent
124+
* Rename variables to be prefixed with `nginx_`
125+
126+
Bug fixes:
127+
128+
* Correct spelling of name in `tasks/prerequisites/setup-debian.yml`
129+
130+
## 0.7.1
131+
132+
Features:
133+
134+
* Add enabled parameter to NGINX and NGINX Unit handlers
135+
136+
## 0.7.0
137+
138+
Features:
139+
140+
* Add Amazon Linux 2 support for NGINX Plus
141+
* Add ability to delete NGINX Plus license after installation
142+
143+
Bug fixes:
144+
145+
* GeoIP module can now be properly installed
146+
* Module installation will no longer fail if only one module is specified
147+
148+
## 0.6.0
149+
150+
Features:
151+
152+
* Improve NGINX Unit related documentation
153+
* Add FreeBSD and Amazon Linux 2 support for NGINX Unit
154+
* Allow users to install NGINX Unit without having to also install NGINX
155+
156+
## 0.5.0
157+
158+
Features:
159+
160+
* Add support for NGINX Unit
161+
162+
## 0.4.0
163+
164+
Features:
165+
166+
* Implement support for FreeBSD
167+
* Allow users to select the default NGINX repository
168+
169+
## 0.3.0
170+
171+
New features:
172+
173+
* Improve Travis CI testing strategy
174+
175+
Bug fixes:
176+
177+
* Fix templating and push tasks
178+
179+
## 0.2.0
180+
181+
New features:
182+
183+
* Add support for all first party NGINX modules
184+
185+
Bug fixes:
186+
187+
* Role should now work correctly in distros with old versions of Python
188+
* Rest API configuration will now only be created when rest_api_enable is set to true (an empty file would be created in previous versions if rest_api_enable was set to false)
189+
* Uploading/dynamically generating files should now result in the files being uploaded/created to/in the correct directory
190+
191+
## 0.1.0 - Initial release
192+
193+
Initial release of the NGINX Ansible role. Features include:
194+
195+
* Install NGINX Open Source or NGINX Plus.
196+
* Choose between stable or mainline NGINX Open Source.
197+
* Install NGINX Amplify.
198+
* Install NGINX Javascript, Perl, and ModSecurity WAF NGINX modules.
199+
* Enable the NGINX Plus REST API and dashboard.
200+
* Upload NGINX configuration files.
201+
* Templated NGINX configuration system.

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ Follow our [Installation Guide](https://github.com/nginxinc/ansible-role-nginx/b
2828

2929
* The NGINX Ansible role is written in `yaml` and supports open source NGINX, NGINX Plus, NGINX Amplify, and NGINX Unit.
3030
* The project follows the standard [Ansible role directory structure](https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html)
31-
* The main code is found at `tasks/`
32-
* The main variables can be found at `defaults/main/`
33-
* Configuration templates for NGINX can be found at `templates/`
31+
* The main code is found in `tasks/`
32+
* The main variables can be found in `defaults/main/`
33+
* Configuration templates for NGINX can be found in `templates/`
3434
* [Molecule](https://molecule.readthedocs.io/) tests can be found in `molecule/`.
35-
* CI/CD is done via Travis using `.travis.yml` Deployment yaml files, and Helm files are found at `deployments/`
35+
* CI/CD is done via Travis using `.travis.yml` deployment yaml files
3636

3737
## Contributing
3838

@@ -46,7 +46,7 @@ To suggest an enhancement, please create an issue on GitHub with the label `enha
4646

4747
### Open a Pull Request
4848

49-
* Fork the repo, create a branch, submit a PR when your changes are tested and ready for review
49+
* Fork the repo, create a branch, submit a PR when your changes are tested (ideally using Molecule) and ready for review
5050
* Fill in [our pull request template](https://github.com/nginxinc/ansible-role-nginx/blob/master/.github/PULL_REQUEST_TEMPLATE.md)
5151

5252
Note: if you’d like to implement a new feature, please consider creating a feature request issue first to start a discussion about the feature.

0 commit comments

Comments
 (0)