Merge "Using loop instead of with_X"

This commit is contained in:
Zuul 2019-10-26 05:40:51 +00:00 committed by Gerrit Code Review
commit bbb9bbb305
4 changed files with 8 additions and 3 deletions

View File

@ -125,7 +125,7 @@ Requirements
============
Ansible
Tested with, and targets, Ansible 2.4.x
Tested with, and targets, Ansible 2.5.x
Bootstrap image requirements
----------------------------

View File

@ -14,7 +14,7 @@ python-xclarityclient>=0.1.6
sushy>=2.0.0
# Ansible-deploy interface
ansible>=2.4
ansible>=2.5
# HUAWEI iBMC hardware type uses the python-ibmcclient library
python-ibmcclient>=0.1.0

View File

@ -3,7 +3,7 @@
- set_fact:
ironic_root_device: /dev/{{ item.key }}
with_dict: "{{ ansible_devices }}"
loop: "{{ ansible_devices | dict2items | sort(attribute='key') }}"
when:
- ironic_root_device is undefined
- item.value.host

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
Changing minimum version of Ansible for use with the ``ansible``
``deploy_interface`` to version 2.5.