-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updating supported OS versions * Keep working on tests And refactor all the things * Ensure molecule verifier passes * Add GitHub contribution guidelines * updating keys and repos for NAP * adding back nginx plus signing key * updating repo URL * removing changelog, as there is not one * Bring docs up to speed with other NGINX roles And move some default variables into the vars subfolder Co-authored-by: Alessandro Fael Garcia <[email protected]>
- Loading branch information
Showing
52 changed files
with
687 additions
and
836 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
skip_list: | ||
- '106' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To reproduce** | ||
Steps to reproduce the behavior: | ||
1. Deploy NGINX App Protect role using playbook.yml | ||
2. View output/logs/configuration on '...' | ||
3. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Your environment:** | ||
- Version of the NGINX App Protect role or specific commit | ||
- Version of Ansible | ||
- Target deployment platform | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### Proposed changes | ||
Describe the use case and detail of the change. If this PR addresses an issue on GitHub, make sure to include a link to that issue using one of the [supported keywords](https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue) here in this description (not in the title of the PR). | ||
|
||
### Checklist | ||
Before creating a PR, run through this checklist and mark each as complete. | ||
|
||
- [ ] I have read the [CONTRIBUTING](https://github.com/nginxinc/ansible-role-nginx-app-protect/blob/main/CONTRIBUTING.md) document | ||
- [ ] I have added Molecule tests that prove my fix is effective or that my feature works | ||
- [ ] I have checked that all Molecule tests pass after adding my changes | ||
- [ ] I have updated any relevant documentation (`defaults/main.yml`, `README.md` and `CHANGELOG.md`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,3 @@ default.pem | |
|
||
# Scratch Directory | ||
scratch/ | ||
|
||
# nginx keys | ||
sample-playbook/license/nginx-repo.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,23 @@ | ||
--- | ||
language: python | ||
python: "2.7" | ||
|
||
# Use the new container infrastructure | ||
sudo: false | ||
|
||
# Install ansible | ||
addons: | ||
apt: | ||
packages: | ||
- python-pip | ||
|
||
services: docker | ||
jobs: | ||
include: | ||
- name: "Lint role" | ||
env: | ||
scenario: default | ||
before_install: | ||
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | ||
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | ||
- sudo apt-get update | ||
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce | ||
install: | ||
# Install ansible | ||
- pip install ansible | ||
|
||
# Check ansible version | ||
- ansible --version | ||
|
||
# Create ansible.cfg with correct roles_path | ||
- printf '[defaults]\nroles_path=../' >ansible.cfg | ||
|
||
- pip install ansible==2.9.13 | ||
- pip install ansible-lint==4.3.4 | ||
- pip install yamllint==1.24.2 | ||
- pip install molecule==3.0.8 | ||
- pip install docker==4.3.1 | ||
script: | ||
# Basic role syntax check | ||
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check | ||
|
||
- travis_wait 50 molecule lint -s $scenario | ||
notifications: | ||
webhooks: https://galaxy.ansible.com/api/v1/notifications/ | ||
webhooks: https://galaxy.ansible.com/api/v1/notifications/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Changelog | ||
|
||
## 0.2.0 (September 10, 2020) | ||
|
||
BREAKING CHANGES: | ||
|
||
* All of the variables have been updated to prevent naming collisions when using other roles. Please see README.MD for new variable names. | ||
* Example playbook has been removed by collection authors in favor of using the Molecule configuration as a 'known-working' implementation. | ||
|
||
ENHANCEMENTS: | ||
|
||
* Huge refactoring by @alessfg to better unify this role with the structures present in the other nginxinc Ansible roles. | ||
* Update Ansible to 2.9.13 and Ansible Lint to 4.3.4. | ||
* Explicitly defined mode in relevant tasks for breaking changes in Ansible. | ||
* Role refactored to separate install and configure operations in preparation for an upcoming role split. | ||
|
||
FEATURES: | ||
|
||
* Molecule 3 testing foundation is in the project, and linting is being performed by TravisCI. Now time to write tests! | ||
|
||
BUG FIXES: | ||
|
||
* The CentOS, RHEL, Debian and Ubuntu repositories have slightly changed to respond to a NAP repository deprecation activity. You may run into some duplication issues when running the role on a preexisting target that already has had NGINX installed using the role. To fix this, manually remove the old repository source. | ||
* The RHEL and CentOS repository setups were incorrectly using a static gpgkey instead of using the variable as a source. | ||
|
||
## 0.1.0 (September 9, 2020) | ||
|
||
Supports App Protect 2.0, which brings a number of features including support for Ubuntu 18.04. | ||
|
||
Release notes for NGINX App Protect 2.0: docs.nginx.com/nginx-app-protect/releases/#release-2-0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.