forked from ISTI-ansible-roles/ansible-roles
Fix some boolean checks.
This commit is contained in:
parent
68de4756c5
commit
23921aa74a
|
@ -1,15 +1,15 @@
|
|||
---
|
||||
- name: Install the epel repository
|
||||
yum: name={{ centos_epel_repo_url }} state={{ centos_pkg_state }}
|
||||
when: centos_install_epel
|
||||
when: centos_install_epel | bool
|
||||
tags: [ 'centos', 'repo' ]
|
||||
|
||||
- name: Install the SCL release to access the latest versions of some software
|
||||
yum: name=centos-release-scl state=present
|
||||
when: centos_install_release_scl
|
||||
when: centos_install_release_scl | bool
|
||||
tags: [ 'centos', 'scl', 'repo' ]
|
||||
|
||||
- name: Install the elrepo repository
|
||||
yum: name={{ rh_elrepo_repo_url }} state=present
|
||||
when: rh_install_elrepo
|
||||
when: rh_install_elrepo | bool
|
||||
tags: [ 'centos', 'rhel', 'repo' ]
|
||||
|
|
Loading…
Reference in New Issue