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 warn: false
executable: /bin/bash executable: /bin/bash
when: when:
- ansible_distribution|lower == "amazon" - ansible_distribution|lower == "amazon" or ansible_distribution|lower == 'fedora'
- ansible_distribution == 'Fedora'
- name: CentOS/RedHat/Amazon/Fedora | Install NodeJS - name: CentOS/RedHat/Amazon/Fedora | Install NodeJS
package: package: