Maintain ansible 1.9 compat for package installs
The package module was introduced in ansible 2.0. The bifrost-ironic-install role claims compatibility with ansible 1.9. This commit fixes the iSCSI package installation to avoid using the package module and remain consistent with how the required_packages are installed. Change-Id: I36c446f116d2af4b01ee79aaaab02b0db2df866b
This commit is contained in:
parent
1d2076891f
commit
3e150f4be5
@ -67,9 +67,7 @@
|
||||
version=0.8.1.9
|
||||
when: skip_install is not defined and testing | bool != true
|
||||
- name: "Install iSCSI client if PXE driver support is enabled"
|
||||
package:
|
||||
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
|
||||
- name: "Shade - Install"
|
||||
include: pip_install.yml
|
||||
|
Loading…
Reference in New Issue
Block a user