From 23921aa74aa4bd1bbba111915ae8fc58441d6296 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Sat, 2 Nov 2019 17:06:32 +0100 Subject: [PATCH] Fix some boolean checks. --- library/centos/roles/external-repos/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/centos/roles/external-repos/tasks/main.yml b/library/centos/roles/external-repos/tasks/main.yml index 79a7cf47..e8b5e94b 100644 --- a/library/centos/roles/external-repos/tasks/main.yml +++ b/library/centos/roles/external-repos/tasks/main.yml @@ -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' ]