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' ]