Trivial spacing fix.
Change-Id: Iec46bb88e3e823f8c715e167c361132c42c22efb Trivial-Fix: Spacing between plays in bifrost-ironic-install's install.yml.
This commit is contained in:
parent
92eb477798
commit
2600d546ed
@ -16,9 +16,11 @@
|
|||||||
- name: "Update Package Cache"
|
- name: "Update Package Cache"
|
||||||
apt: update_cache=yes
|
apt: update_cache=yes
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: "Install packages"
|
- name: "Install packages"
|
||||||
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
|
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
|
||||||
with_items: "{{ required_packages }}"
|
with_items: "{{ required_packages }}"
|
||||||
|
|
||||||
# Step required for Ubuntu 14.10
|
# Step required for Ubuntu 14.10
|
||||||
- name: "Install Ubuntu 14.10 (and later) packages"
|
- name: "Install Ubuntu 14.10 (and later) packages"
|
||||||
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
|
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
|
||||||
@ -27,30 +29,36 @@
|
|||||||
when: >
|
when: >
|
||||||
ansible_distribution_version|version_compare('14.10', '>=') and
|
ansible_distribution_version|version_compare('14.10', '>=') and
|
||||||
ansible_distribution == 'Ubuntu'
|
ansible_distribution == 'Ubuntu'
|
||||||
|
|
||||||
- name: "If running in CI, set source install facts just to be sure"
|
- name: "If running in CI, set source install facts just to be sure"
|
||||||
set_fact:
|
set_fact:
|
||||||
shade_source_install: true
|
shade_source_install: true
|
||||||
ironicclient_source_install: true
|
ironicclient_source_install: true
|
||||||
when: ci_testing | bool == true
|
when: ci_testing | bool == true
|
||||||
|
|
||||||
- name: "If VENV is set in the environment, enable installation into venv"
|
- name: "If VENV is set in the environment, enable installation into venv"
|
||||||
set_fact:
|
set_fact:
|
||||||
enable_venv: true
|
enable_venv: true
|
||||||
when: lookup('env', 'VENV') | length > 0
|
when: lookup('env', 'VENV') | length > 0
|
||||||
|
|
||||||
# NOTE(TheJulia) While we don't necessarilly require /opt/stack any longer
|
# NOTE(TheJulia) While we don't necessarilly require /opt/stack any longer
|
||||||
# and it should already be created by the Ansible setup, we will leave this
|
# and it should already be created by the Ansible setup, we will leave this
|
||||||
# here for the time being.
|
# here for the time being.
|
||||||
- name: "Ensure /opt/stack is present"
|
- name: "Ensure /opt/stack is present"
|
||||||
file: name=/opt/stack state=directory owner=root group=root
|
file: name=/opt/stack state=directory owner=root group=root
|
||||||
|
|
||||||
- name: "proliantutils - Install from pip"
|
- name: "proliantutils - Install from pip"
|
||||||
include: pip_install.yml
|
include: pip_install.yml
|
||||||
package=proliantutils
|
package=proliantutils
|
||||||
state=present
|
state=present
|
||||||
when: skip_install is not defined and testing | bool != true
|
when: skip_install is not defined and testing | bool != true
|
||||||
|
|
||||||
- name: "UcsSdk - Install from pip"
|
- name: "UcsSdk - Install from pip"
|
||||||
include: pip_install.yml
|
include: pip_install.yml
|
||||||
package=UcsSdk
|
package=UcsSdk
|
||||||
version=0.8.1.9
|
version=0.8.1.9
|
||||||
when: skip_install is not defined and testing | bool != true
|
when: skip_install is not defined and testing | bool != true
|
||||||
|
|
||||||
- name: "Install iSCSI client if PXE driver support is enabled"
|
- name: "Install iSCSI client if PXE driver support is enabled"
|
||||||
action: "{{ ansible_pkg_mgr }} name={{ iscsi_client_package }} state=present"
|
action: "{{ ansible_pkg_mgr }} name={{ iscsi_client_package }} state=present"
|
||||||
when: skip_install is not defined and enable_pxe_drivers | bool == true
|
when: skip_install is not defined and enable_pxe_drivers | bool == true
|
||||||
@ -71,12 +79,14 @@
|
|||||||
package=dib-utils
|
package=dib-utils
|
||||||
state=present
|
state=present
|
||||||
when: skip_install is not defined and install_dib | bool == true
|
when: skip_install is not defined and install_dib | bool == true
|
||||||
|
|
||||||
- name: "Diskimage-builder - Install"
|
- name: "Diskimage-builder - Install"
|
||||||
include: pip_install.yml
|
include: pip_install.yml
|
||||||
package=diskimage-builder
|
package=diskimage-builder
|
||||||
sourcedir={{ dib_git_folder }}
|
sourcedir={{ dib_git_folder }}
|
||||||
source_install=true
|
source_install=true
|
||||||
when: skip_install is not defined and install_dib | bool == true
|
when: skip_install is not defined and install_dib | bool == true
|
||||||
|
|
||||||
- name: "Ironic Client - Install"
|
- name: "Ironic Client - Install"
|
||||||
include: pip_install.yml
|
include: pip_install.yml
|
||||||
package=python-ironicclient
|
package=python-ironicclient
|
||||||
@ -84,12 +94,15 @@
|
|||||||
sourcedir={{ ironicclient_git_folder }}
|
sourcedir={{ ironicclient_git_folder }}
|
||||||
source_install={{ ironicclient_source_install }}
|
source_install={{ ironicclient_source_install }}
|
||||||
when: skip_install is not defined
|
when: skip_install is not defined
|
||||||
|
|
||||||
- name: "Install configparser in venv if using"
|
- name: "Install configparser in venv if using"
|
||||||
include: pip_install.yml package=configparser virtualenv={{ bifrost_venv_dir }}
|
include: pip_install.yml package=configparser virtualenv={{ bifrost_venv_dir }}
|
||||||
when: skip_install is not defined and (enable_venv | bool == true)
|
when: skip_install is not defined and (enable_venv | bool == true)
|
||||||
|
|
||||||
- name: "Install pymysql in venv if using"
|
- name: "Install pymysql in venv if using"
|
||||||
include: pip_install.yml package=pymysql virtualenv={{ bifrost_venv_dir }}
|
include: pip_install.yml package=pymysql virtualenv={{ bifrost_venv_dir }}
|
||||||
when: skip_install is not defined and (enable_venv | bool == true)
|
when: skip_install is not defined and (enable_venv | bool == true)
|
||||||
|
|
||||||
# NOTE(hwoarang): The python-pymysql package is not available on the CentOS7
|
# NOTE(hwoarang): The python-pymysql package is not available on the CentOS7
|
||||||
# and old Debian/Ubuntu repositories so we need to get it via pip
|
# and old Debian/Ubuntu repositories so we need to get it via pip
|
||||||
- name: "Install pymysql on CentOS/Ubuntu if necessary"
|
- name: "Install pymysql on CentOS/Ubuntu if necessary"
|
||||||
@ -108,9 +121,11 @@
|
|||||||
source_install=true
|
source_install=true
|
||||||
extra_args="--no-cache-dir --upgrade -c {{ reqs_git_folder }}/upper-constraints.txt"
|
extra_args="--no-cache-dir --upgrade -c {{ reqs_git_folder }}/upper-constraints.txt"
|
||||||
when: skip_install is not defined
|
when: skip_install is not defined
|
||||||
|
|
||||||
- name: "Install ironic-inspector to permit use of inspection interface"
|
- name: "Install ironic-inspector to permit use of inspection interface"
|
||||||
include: inspector_install.yml
|
include: inspector_install.yml
|
||||||
when: skip_install is not defined and enable_inspector | bool == true
|
when: skip_install is not defined and enable_inspector | bool == true
|
||||||
|
|
||||||
- name: "Install ironic-staging-drivers"
|
- name: "Install ironic-staging-drivers"
|
||||||
include: staging_install.yml
|
include: staging_install.yml
|
||||||
when: skip_install is not defined and staging_drivers_include | bool == true
|
when: skip_install is not defined and staging_drivers_include | bool == true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user