You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+18-17Lines changed: 18 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,25 +14,26 @@ The following is a set of guidelines for contributing to the NGINX Ansible role.
14
14
*[Git Guidelines](#git-guidelines)
15
15
*[Ansible Guidelines](#ansible-guidelines)
16
16
17
-
[Code of Conduct](https://github.com/nginxinc/ansible-role-nginx-config/blob/master/CODE_OF_CONDUCT.md)
17
+
[Code of Conduct](https://github.com/nginxinc/ansible-role-nginx-config/blob/main/CODE_OF_CONDUCT.md)
18
18
19
19
## Ask a Question
20
20
21
-
Don't know how something works? Curious if the role can achieve your desired functionality. Please open an Issue on GitHub with the label `question`.
21
+
Don't know how something works? Curious if the role can achieve your desired functionality? Please open an Issue on GitHub with the label `question`.
22
22
23
23
## Getting Started
24
24
25
-
Follow our [Installation Guide](https://github.com/nginxinc/ansible-role-nginx-config/blob/master/README.md#Installation) to install Ansible and Molecule and get ready to use the NGINX Ansible role.
25
+
Follow our [Installation Guide](https://github.com/nginxinc/ansible-role-nginx-config/blob/main/README.md#Installation) to install Ansible and Molecule and get ready to use the NGINX Ansible role.
26
26
27
27
### Project Structure
28
28
29
29
* The NGINX Ansible role is written in `yaml` and supports NGINX Open Source and NGINX Plus.
30
-
* 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 in `tasks/`
32
-
* The main variables can be found in `defaults/main/*.yml`
33
-
* Configuration templates for NGINX can be found in `templates/`
30
+
* 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 in `tasks/`.
32
+
* The main variables can be found in `defaults/main/*.yml`.
33
+
* "Constant" variables can be found in `vars/main.yml`.
34
+
* Configuration templates for NGINX can be found in `templates/`.
34
35
*[Molecule](https://molecule.readthedocs.io/) tests can be found in `molecule/`.
35
-
* CI/CD is done via Travis using `.travis.yml` deployment yaml files
36
+
* CI/CD is done via Travis using `.travis.yml` deployment `yaml` files.
36
37
37
38
## Contributing
38
39
@@ -46,8 +47,8 @@ To suggest an enhancement, please create an issue on GitHub with the label `enha
46
47
47
48
### Open a Pull Request
48
49
49
-
* Fork the repo, create a branch, submit a PR when your changes are **tested** (ideally using Molecule) and ready for review
50
-
* Fill in [our pull request template](https://github.com/nginxinc/ansible-role-nginx-config/blob/master/.github/PULL_REQUEST_TEMPLATE.md)
50
+
* Fork the repo, create a branch, submit a PR when your changes are **tested** (ideally using Molecule) and ready for review.
51
+
* Fill in [our pull request template](https://github.com/nginxinc/ansible-role-nginx-config/blob/main/.github/PULL_REQUEST_TEMPLATE.md).
51
52
52
53
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.
53
54
@@ -63,10 +64,10 @@ Note: if you’d like to implement a new feature, please consider creating a fea
63
64
64
65
### Git Guidelines
65
66
66
-
* Keep a clean, concise and meaningful git commit history on your branch (within reason), rebasing locally and squashing before submitting a PR
67
-
* Follow the guidelines of writing a good commit message as described here <https://chris.beams.io/posts/git-commit/> and summarised in the next few points
68
-
* In the subject line, use the present tense ("Add feature" not "Added feature")
69
-
* In the subject line, use the imperative mood ("Move cursor to..." not "Moves cursor to...")
70
-
* Limit the subject line to 72 characters or less
71
-
* Reference issues and pull requests liberally after the subject line
72
-
* Add more detailed description in the body of the git message (`git commit -a` to give you more space and time in your text editor to write a good message instead of `git commit -am`)
67
+
* Keep a clean, concise and meaningful git commit history on your branch (within reason), rebasing locally and squashing before submitting a PR.
68
+
* Follow the guidelines of writing a good commit message as described here <https://chris.beams.io/posts/git-commit/> and summarised in the next few points:
69
+
* In the subject line, use the present tense ("Add feature" not "Added feature").
70
+
* In the subject line, use the imperative mood ("Move cursor to..." not "Moves cursor to...").
71
+
* Limit the subject line to 72 characters or less.
72
+
* Reference issues and pull requests liberally after the subject line.
73
+
* Add more detailed description in the body of the git message (`git commit -a` to give you more space and time in your text editor to write a good message instead of `git commit -am`).
Copy file name to clipboardExpand all lines: README.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,14 +44,11 @@ Alpine:
44
44
- 3.12
45
45
CentOS:
46
46
- 6
47
-
- 7
47
+
- 7.4+
48
48
- 8
49
49
Debian:
50
50
- stretch
51
51
- buster
52
-
FreeBSD:
53
-
- 11.2+
54
-
- 12
55
52
RedHat:
56
53
- 6
57
54
- 7.4+
@@ -62,6 +59,7 @@ SUSE/SLES:
62
59
Ubuntu:
63
60
- xenial
64
61
- bionic
62
+
- eoan
65
63
- focal
66
64
```
67
65
@@ -100,13 +98,14 @@ SUSE/SLES:
100
98
Ubuntu:
101
99
- xenial
102
100
- bionic
101
+
- eoan
103
102
- focal
104
103
```
105
104
106
105
Role Variables
107
106
--------------
108
107
109
-
This role has multiple variables. The descriptions and defaults for all these variables can be found in the **`defaults/main`** directory in the following files:
108
+
This role has multiple variables. The descriptions and defaults for all these variables can be found in the **`defaults/main/`** directory in the following files:
@@ -115,7 +114,7 @@ This role has multiple variables. The descriptions and defaults for all these va
115
114
Example Playbooks
116
115
-----------------
117
116
118
-
Working functional playbook examples can be found in the **`molecule/common`** directory in the following files:
117
+
Working functional playbook examples can be found in the **`molecule/common/`** directory in the following files:
119
118
120
119
- **[molecule/common/playbooks/cleanup_module_converge.yml](https://github.com/nginxinc/ansible-role-nginx-config/blob/main/molecule/common/playbooks/cleanup_module_converge.yml):** Cleanup an NGINX config and configure NGINX supported modules
121
120
- **[molecule/common/playbooks/default_converge.yml](https://github.com/nginxinc/ansible-role-nginx-config/blob/main/molecule/common/playbooks/default_converge.yml):** Use the NGINX config templating variables to create an NGINX config
@@ -126,10 +125,14 @@ Do note that if you install this repository via Ansible Galaxy, you will have to
126
125
Other NGINX Roles
127
126
-----------------
128
127
129
-
You can find an Ansible collection of roles to help you install and configure NGINX Controller [here](https://github.com/nginxinc/ansible-collection-nginx_controller)
128
+
You can find an Ansible role to install NGINX [here](https://github.com/nginxinc/ansible-role-nginx)
130
129
131
130
You can find an Ansible role to help you install and configure NGINX App Protect [here](https://github.com/nginxinc/ansible-role-nginx-app-protect)
132
131
132
+
You can find an Ansible collection of roles to help you install and configure NGINX Controller [here](https://github.com/nginxinc/ansible-collection-nginx_controller)
133
+
134
+
You can find an Ansible role to install NGINX Unit [here](https://github.com/nginxinc/ansible-role-nginx-unit)
0 commit comments