Merge "Fix serial/wwn gathering for ansible+python3"

This commit is contained in:
Zuul 2019-07-24 07:01:23 +00:00 committed by Gerrit Code Review
commit 3958c94fa8
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
- name: get devices wwn facts - name: get devices wwn facts
facts_wwn: facts_wwn:
devices: "{{ ansible_devices.keys() }}" devices: "{{ ansible_devices.keys() | list }}"
- name: calculate root hint - name: calculate root hint
root_hints: root_hints:

View File

@ -0,0 +1,6 @@
---
fixes:
- |
An issue regarding the ``ansible`` deploy interface. The discovery
playbook used to gather wwn and serials was broken for python3 due to the
dict().keys() object not being a list in python3.