Skip to content

Commit a49765b

Browse files
authored
Do not fail when assert module fails (#330)
1 parent 9760f98 commit a49765b

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.17.1 (Unreleased)
4+
5+
ENHANCEMENTS:
6+
7+
* The role will no longer fail automatically on unsupported platforms, but the error message will still be displayed.
8+
39
## 0.17.0 (September 20, 2020)
410

511
BREAKING CHANGES:

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Use `git clone https://github.com/nginxinc/ansible-role-nginx.git` to pull the l
4444
Platforms
4545
---------
4646

47-
The NGINX Ansible role supports all platforms supported by [NGINX Open Source](https://nginx.org/en/linux_packages.html), [NGINX Plus](https://docs.nginx.com/nginx/technical-specs/), the [NGINX Amplify agent](https://github.com/nginxinc/nginx-amplify-doc/blob/master/amplify-faq.md#21-what-operating-systems-are-supported), and [NGINX Unit](https://unit.nginx.org/installation/#official-packages) (you can also use this role to compile NGINX Open Source from source or install it on BSD systems at your own risk):
47+
The NGINX Ansible role supports all platforms supported by [NGINX Open Source](https://nginx.org/en/linux_packages.html), [NGINX Plus](https://docs.nginx.com/nginx/technical-specs/), the [NGINX Amplify agent](https://github.com/nginxinc/nginx-amplify-doc/blob/master/amplify-faq.md#21-what-operating-systems-are-supported), and [NGINX Unit](https://unit.nginx.org/installation/#official-packages):
4848

4949
**NGINX Open Source**
5050

@@ -157,6 +157,8 @@ Ubuntu:
157157
- focal
158158
```
159159
160+
**Note:** You can also use this role to compile NGINX Open Source from source, install NGINX Open Source on compatible yet unsupported platforms, or install NGINX Open Source on BSD systems at your own risk.
161+
160162
Role Variables
161163
--------------
162164

tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
when:
99
- nginx_install | bool
1010
- (nginx_install_from == "nginx_repository" or nginx_type == "plus")
11+
ignore_errors: yes
1112
tags: nginx_check_support
1213

1314
- name: Set up prerequisites

0 commit comments

Comments
 (0)