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
* The NGINX Ansible role is written in `yaml` and supports NGINX Open Source, NGINX Plus, and NGINX Amplify.
30
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
-
* 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/`.
35
-
*[Molecule](https://molecule.readthedocs.io/) tests can be found in `molecule/`.
36
-
* CI/CD is done via Travis using `.travis.yml` deployment `yaml` files.
31
+
* The main code is found in [`tasks/`](https://github.com/nginxinc/ansible-role-nginx/blob/main/tasks/).
32
+
* Variables can be found in [`defaults/main/`](https://github.com/nginxinc/ansible-role-nginx/blob/main/defaults/main/).
33
+
* "Constant" variables can be found in [`vars/main.yml`](https://github.com/nginxinc/ansible-role-nginx/blob/main/vars/main.yml).
34
+
* Configuration templates for NGINX can be found in [`templates/`](https://github.com/nginxinc/ansible-role-nginx/blob/main/templates/).
35
+
*[Molecule](https://molecule.readthedocs.io/) tests can be found in [`molecule/`](https://github.com/nginxinc/ansible-role-nginx/blob/main/molecule/).
36
+
* CI/CD is done via GitHub actions using the workflow files found in [`.github/workflows/`](https://github.com/nginxinc/ansible-role-nginx/blob/main/.github/workflows/).
37
37
38
38
## Contributing
39
39
@@ -47,7 +47,7 @@ To suggest an enhancement, please create an issue on GitHub with the label `enha
47
47
48
48
### Open a Pull Request
49
49
50
-
* Fork the repo, create a branch, submit a PR when your changes are **tested** (ideally using Molecule) and ready for review.
50
+
* Fork the repo, create a branch, implement your changes, add any relevant Molecule tests, submit a PR when your changes are **tested** (using Molecule) and ready for review.
51
51
* Fill in [our pull request template](https://github.com/nginxinc/ansible-role-nginx/blob/main/.github/PULL_REQUEST_TEMPLATE.md).
52
52
53
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.
@@ -57,7 +57,7 @@ Note: if you’d like to implement a new feature, please consider creating a fea
57
57
### Ansible Guidelines
58
58
59
59
* Run `molecule lint` over your code to automatically resolve a lot of `yaml` and Ansible style issues.
60
-
* Run `molecule test --all` on your code before you submit a PR to catch any potential issues.
60
+
* Run `molecule test` on your code before you submit a PR to catch any potential issues. If you are testing a specific molecule scenario, run `molecule test -s <scenario>`. If you are testing the NGINX Plus scenario (`plus`), you will need to procure an NGINX Plus license (check out the [NGINX Plus developer license FAQ](https://www.nginx.com/developer-license-faqs/) to find out how to request one).
61
61
* Follow these guides on some good practices for Ansible:
0 commit comments