Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ansible-lint from 4.3.7 to 5.0.4 in /.github/workflows/requirements #92

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/requirements/requirements_molecule.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ansible-base==2.10.7
ansible-lint==4.3.7
ansible-lint==5.0.4
yamllint==1.26.0
molecule[docker]==3.2.4
docker==4.4.4
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,15 @@ Replace Ansible community distribution with Ansible base and add the necessary e
ENHANCEMENTS:

* Add support for NGINX's `index` directive to the `server` block within the template config parameters.
* Update Ansible base to `2.10.7`, Molecule to `3.2.4`, yamllint to `1.26.0` and Docker Python SDK to `4.4.4`.
* Update Ansible base to `2.10.7`, Ansible Lint to `5.0.4`, Molecule to `3.2.4`, yamllint to `1.26.0` and Docker Python SDK to `4.4.4`.
* Consolidate Molecule testing scenarios to address changes introduced in Ansible Lint `5.*`.
* Specify GitHub actions Ubuntu release.
* Minor GitHub template tweaks, including the creation of a SECURITY doc.

BUG FIXES:

* Add `state` parameter to package module in Molecule verification tests.
* In App Protect environments on SELinux enforced systems, the `nginx -t` handler fails when run from a directory that the nginx process' user does not have access to.
* In NGINX App Protect environments on SELinux enforced systems, the `nginx -t` handler fails when run from a directory that the NGINX process' user does not have access to.
* Fix missing GRPC boolean check in GRPC template.

## 0.3.3 (January 28, 2021)
Expand Down
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ galaxy_info:
author: Alessandro Fael Garcia
description: Official Ansible role for configuring NGINX
role_name: nginx_config
namespace: nginxinc # Ansible Lint requirement
company: F5 Networks, Inc.

license: Apache License, Version 2.0
Expand Down
6 changes: 4 additions & 2 deletions molecule/cleanup_module/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
dependency:
name: galaxy
options:
role-file: molecule/common/playbooks/oss_requirements.yml
role-file: molecule/common/requirements/oss_requirements.yml
driver:
name: docker
lint: |
Expand Down Expand Up @@ -41,4 +41,6 @@ platforms:
provisioner:
name: ansible
playbooks:
prepare: ../common/playbooks/oss_prepare.yml
prepare: prepare.yml
converge: converge.yml
verify: verify.yml
6 changes: 4 additions & 2 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
dependency:
name: galaxy
options:
role-file: molecule/common/playbooks/oss_requirements.yml
role-file: molecule/common/requirements/oss_requirements.yml
driver:
name: docker
lint: |
Expand Down Expand Up @@ -41,4 +41,6 @@ platforms:
provisioner:
name: ansible
playbooks:
prepare: ../common/playbooks/oss_prepare.yml
prepare: prepare.yml
converge: converge.yml
verify: verify.yml
10 changes: 10 additions & 0 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
- name: Prepare
hosts: all
tasks:
- name: Install NGINX
include_role:
name: nginxinc.nginx
vars:
nginx_modules:
- njs
6 changes: 4 additions & 2 deletions molecule/plus/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
dependency:
name: galaxy
options:
role-file: molecule/common/playbooks/plus_requirements.yml
role-file: molecule/common/requirements/plus_requirements.yml
driver:
name: docker
lint: |
Expand Down Expand Up @@ -34,4 +34,6 @@ platforms:
provisioner:
name: ansible
playbooks:
prepare: ../common/playbooks/plus_prepare.yml
prepare: prepare.yml
converge: converge.yml
verify: verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
- name: Create ephemeral license certificate file from b64 decoded env var
copy:
content: "{{ lookup('env','NGINX_CRT') | b64decode }}"
dest: ../files/license/nginx-repo.crt
dest: ../common/files/license/nginx-repo.crt
force: no
mode: 0444

- name: Create ephemeral license key file from b64 decoded env var
copy:
content: "{{ lookup('env','NGINX_KEY') | b64decode }}"
dest: ../files/license/nginx-repo.key
dest: ../common/files/license/nginx-repo.key
force: no
mode: 0444

Expand All @@ -26,8 +26,8 @@
vars:
nginx_type: plus
nginx_license:
certificate: ../files/license/nginx-repo.crt
key: ../files/license/nginx-repo.key
certificate: ../common/files/license/nginx-repo.crt
key: ../common/files/license/nginx-repo.key
nginx_remove_license: false

- name: Install NGINX App Protect
Expand Down
6 changes: 4 additions & 2 deletions molecule/stable_push/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
dependency:
name: galaxy
options:
role-file: molecule/common/playbooks/oss_requirements.yml
role-file: molecule/common/requirements/oss_requirements.yml
driver:
name: docker
lint: |
Expand Down Expand Up @@ -41,4 +41,6 @@ platforms:
provisioner:
name: ansible
playbooks:
prepare: ../common/playbooks/oss_prepare.yml
prepare: prepare.yml
converge: converge.yml
verify: verify.yml
7 changes: 7 additions & 0 deletions molecule/stable_push/prepare.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
- name: Prepare
hosts: all
tasks:
- name: Install NGINX
include_role:
name: nginxinc.nginx