Merge "Modify install.yaml to support Ubuntu 18"
authorVolodymyr Mytnyk <volodymyrx.mytnyk@intel.com>
Wed, 12 Dec 2018 14:34:59 +0000 (14:34 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Wed, 12 Dec 2018 14:34:59 +0000 (14:34 +0000)
1  2 
ansible/install.yaml

diff --combined ansible/install.yaml
@@@ -21,7 -21,7 +21,7 @@@
  
    pre_tasks:
  
-     - name: Create NSB binaries directory, accesible to any user
+     - name: Create NSB binaries directory, accessible to any user
        file:
          path: "{{ nsb_dir }}"
          state: directory
@@@ -31,8 -31,8 +31,8 @@@
          - installation_mode != inst_mode_container_pull
  
    roles:
-     - { role: add_repos_jumphost, when: installation_mode != inst_mode_container_pull }
-     - { role: install_dependencies_jumphost, when: installation_mode != inst_mode_container_pull }
+     - add_repos_jumphost
+     - install_dependencies_jumphost
      - { role: install_yardstick, when: installation_mode != inst_mode_container_pull }
      - { role: configure_uwsgi, when: installation_mode != inst_mode_container_pull }
      - { role: configure_nginx, when: installation_mode != inst_mode_container_pull }
@@@ -63,8 -63,8 +63,8 @@@
      - role: set_package_installer_proxy
        when: proxy_env is defined and proxy_env
      # can't update grub in chroot/docker
 -    # ?? - enable_iommu_on_boot
      - enable_hugepages_on_boot
 +    - enable_iommu_on_boot
      # needed for collectd plugins
      - increase_open_file_limits
      - install_image_dependencies
    hosts: jumphost
  
    tasks:
-     - include_role:
-         name: install_dependencies_jumphost
-       when: installation_mode == inst_mode_container_pull
      - include_role:
          name: docker
        when: installation_mode == inst_mode_container_pull