Do not fail when assert module fails (#330)

This commit is contained in:
Alessandro Fael Garcia 2020-09-22 17:50:07 +02:00 committed by GitHub
parent 9760f98f05
commit a49765b55e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# Changelog # Changelog
## 0.17.1 (Unreleased)
ENHANCEMENTS:
* The role will no longer fail automatically on unsupported platforms, but the error message will still be displayed.
## 0.17.0 (September 20, 2020) ## 0.17.0 (September 20, 2020)
BREAKING CHANGES: BREAKING CHANGES:

View File

@ -44,7 +44,7 @@ Use `git clone https://github.com/nginxinc/ansible-role-nginx.git` to pull the l
Platforms Platforms
--------- ---------
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): 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):
**NGINX Open Source** **NGINX Open Source**
@ -157,6 +157,8 @@ Ubuntu:
- focal - focal
``` ```
**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.
Role Variables Role Variables
-------------- --------------

View File

@ -8,6 +8,7 @@
when: when:
- nginx_install | bool - nginx_install | bool
- (nginx_install_from == "nginx_repository" or nginx_type == "plus") - (nginx_install_from == "nginx_repository" or nginx_type == "plus")
ignore_errors: yes
tags: nginx_check_support tags: nginx_check_support
- name: Set up prerequisites - name: Set up prerequisites