Fix task name

This commit is contained in:
Sergei Antipov 2018-07-13 18:59:35 -04:00
parent 8cfc47bb7a
commit f4a474b85e
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
or mongodb_repository[mongodb_major_version] is not defined or mongodb_repository[mongodb_major_version] is not defined
or mongodb_version != '3.6') and ansible_distribution_release == 'stretch') or mongodb_version != '3.6') and ansible_distribution_release == 'stretch')
- name: Fail when used wrong mongodb_version variable with Debian Stretch - name: Fail when used wrong mongodb_version variable with Ubuntu 18.04
fail: fail:
msg: "mongodb_version variable should be '3.6' and mongodb_package should be 'mongodb' for Ubuntu 18.04" msg: "mongodb_version variable should be '3.6' and mongodb_package should be 'mongodb' for Ubuntu 18.04"
when: ((mongodb_package == 'mongodb-org' or mongodb_version != '3.6') when: ((mongodb_package == 'mongodb-org' or mongodb_version != '3.6')