This project is no longer being developed and has limited support. Please use the newer Ansible Collection project: https://github.com/HewlettPackard/oneview-ansible-collection
Apache License 2.0
104
stars
65
forks
source link
Module oneview_storage_system_facts examples and documentation contains old/incorrect parameter "ip_hostname" #311
- name: Gather facts about the Storage System with hostname '{{ storage_system_ip_hostname }}'
oneview_storage_system_facts:
config: "{{ config }}"
_ip_hostname: "{{ storage_system_ip_hostname }}"_
delegate_to: localhost
Aslo a comment, I guess the fact's gathering is due to the module oneview_storage_system not being idempontent in the first place. Almost worth an issue by itself.
Environment Details
Module Version: [Version of the Oneview-Ansible module for which you are encountering the issue]
Ansible Version: 2.4.0.0
OneView Appliance Version: 4.00.05-0325661
OneView Client API Version: 300
Python Version: 2.7.x
python-hpOneView SDK Version:hpOneView (4.3.0)
Platform: CentOS 7.4
Steps to Reproduce
[What are the complete steps needed to do in order to reproduce your problem?]
Expected Result
Expecting the filtering to return back a registered varaible to check in the later stage.
But filtering on ip_hostname does not appear to be valid (anymore??).
Actual Result
[What actually happens after the steps above? Include error output or a link to a gist.]
Scenario/Intent
Running examples that fails...
c7000_environment_setup.yml contains:
Aslo a comment, I guess the fact's gathering is due to the module oneview_storage_system not being idempontent in the first place. Almost worth an issue by itself.
Environment Details
Steps to Reproduce
[What are the complete steps needed to do in order to reproduce your problem?]
Expected Result
Expecting the filtering to return back a registered varaible to check in the later stage. But filtering on ip_hostname does not appear to be valid (anymore??).
Actual Result
[What actually happens after the steps above? Include error output or a link to a gist.]
I'm able to filter on storage_hostname instead which work's