Remove unnecessary and confusing task conditions 07/57507/1
authorDaniel Farrell <dfarrell@redhat.com>
Mon, 8 Jun 2015 05:07:17 +0000 (01:07 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Fri, 19 May 2017 16:52:24 +0000 (12:52 -0400)
Some task and handlers were marked to only run on
Red Hat family OSs. We currently don't support any
other OS, and running against another OS (so with
only the not-excluded tasks and handlers) would
break. They add unnecessary complexity, may mislead
people and add no benefit with our current feature
set.

Change-Id: I1f9670e55e0fb0020770a0836d57460fd8b7e493
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
handlers/main.yml
tasks/main.yml

index 8a0b75dcbed01055e36c1b8e2de04f381f502959..6521e96efa82629c9fa744feb2297105567a6c79 100644 (file)
@@ -1,6 +1,4 @@
 ---
 - include: stop_odl.yml
-  when: ansible_os_family == 'RedHat'
 - include: cleanup_karaf.yml
 - include: start_odl.yml
-  when: ansible_os_family == 'RedHat'
index c7648d8d9a08e252da0c7db3b30af339078663c0..ce5d97a5dd593765142cd3548fcd18457fc1c007 100644 (file)
@@ -1,10 +1,7 @@
 ---
 - include: add_odl_yum_repo.yml
-  when: ansible_os_family == 'RedHat'
 - include: install_odl_rpm.yml
-  when: ansible_os_family == 'RedHat'
 - include: configure_karaf_features.yml
 - include: configure_nb_rest_port.yml
 - include: open_nb_rest_port.yml
 - include: start_odl_systemd_service.yml
-  when: ansible_os_family == 'RedHat'