# `ansible_distribtion` param: Operating system (Debian/Ubuntu/CentOS etc.)
# Install ODL .deb using debian repo
-- include: install_odl_via_deb_repo.yml
+- include_tasks: install_odl_via_deb_repo.yml
when:
- ansible_os_family == "Debian"
- install_method == "deb_repo"
# Install ODL using .deb URL or local path to a .deb file
-- include: install_odl_via_deb_path.yml
+- include_tasks: install_odl_via_deb_path.yml
when:
- ansible_os_family == "Debian"
- install_method == "deb_path"
# Install ODL using Yum repo config
-- include: install_odl_via_rpm_repo.yml
+- include_tasks: install_odl_via_rpm_repo.yml
when:
- (ansible_os_family == "RedHat") or
(ansible_os_family == "Suse")
- install_method == "rpm_repo"
# Install ODL using rpm URL or a local path to a rpm file
-- include: install_odl_via_rpm_path.yml
+- include_tasks: install_odl_via_rpm_path.yml
when:
- (ansible_os_family == "RedHat") or
(ansible_os_family == "Suse")
---
-- include: add_odl_deb_repo.yml
+- include_tasks: add_odl_deb_repo.yml
- name: Install ODL via Deb repo
apt:
---
-- include: add_odl_yum_repo.yml
+- include_tasks: add_odl_yum_repo.yml
when: ansible_os_family == "RedHat"
-- include: add_odl_zypper_repo.yml
+- include_tasks: add_odl_zypper_repo.yml
when: ansible_os_family == "Suse"
- name: Install ODL via RPM repo
---
-- include: install_odl.yml
-- include: configure_cluster.yml
+- include_tasks: install_odl.yml
+- include_tasks: configure_cluster.yml
when:
- cluster
-- include: configure_karaf_features.yml
-- include: configure_nb_rest_port.yml
-- include: open_nb_rest_port.yml
-- include: configure_genius_tunnels.yml
+- include_tasks: configure_karaf_features.yml
+- include_tasks: configure_nb_rest_port.yml
+- include_tasks: open_nb_rest_port.yml
+- include_tasks: configure_genius_tunnels.yml
when: "'odl-netvirt-sfc' in features"
-- include: start_odl.yml
-- include: configure_quagga.yml
+- include_tasks: start_odl.yml
+- include_tasks: configure_quagga.yml
when:
- quagga
---
-- include: in_container.yml
+- include_tasks: in_container.yml
- name: Check if FirewallD service is running
command: systemctl is-active firewalld
---
-- include: in_container.yml
+- include_tasks: in_container.yml
-- include: start_odl_systemd_service.yml
+- include_tasks: start_odl_systemd_service.yml
when: in_container.rc == 1