Skip to content

Commit

Permalink
Bump ansible-lint from 4.3.7 to 5.0.4 in /.github/workflows/requireme…
Browse files Browse the repository at this point in the history
…nts (#92)
  • Loading branch information
dependabot[bot] committed Mar 22, 2021
1 parent 9b44248 commit 7a27a13
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 15 deletions.
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
File renamed without changes.
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

0 comments on commit 7a27a13

Please sign in to comment.