fix conditional statement when

This commit is contained in:
Rshad Zhran 2019-11-21 14:00:08 +01:00
parent 3c70bc5b2a
commit e2cee2e45d

View File

@ -18,8 +18,7 @@
warn: false
executable: /bin/bash
when:
- ansible_distribution|lower == "amazon"
- ansible_distribution == 'Fedora'
- ansible_distribution|lower == "amazon" or ansible_distribution|lower == 'fedora'
- name: CentOS/RedHat/Amazon/Fedora | Install NodeJS
package: