mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove more remains of intersight_info. (#396)
This commit is contained in:
parent
7bb36d62d0
commit
6bb6089999
4 changed files with 0 additions and 45 deletions
4
.github/BOTMETA.yml
vendored
4
.github/BOTMETA.yml
vendored
|
@ -1044,10 +1044,6 @@ files:
|
||||||
$modules/remote_management/imc/imc_rest.py:
|
$modules/remote_management/imc/imc_rest.py:
|
||||||
authors: dagwieers
|
authors: dagwieers
|
||||||
labels: cisco
|
labels: cisco
|
||||||
$modules/remote_management/intersight/intersight_info.py:
|
|
||||||
authors: CiscoUcs dsoper2
|
|
||||||
maintainers: movinalot
|
|
||||||
labels: cisco
|
|
||||||
$modules/remote_management/ipmi/:
|
$modules/remote_management/ipmi/:
|
||||||
authors: bgaifullin
|
authors: bgaifullin
|
||||||
maintainers: cloudnull
|
maintainers: cloudnull
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
bugfixes:
|
bugfixes:
|
||||||
- spacewalk inventory - improve file handling by using a context manager.
|
- spacewalk inventory - improve file handling by using a context manager.
|
||||||
- intersight_rest_api, intersight_info - improve file handling by using a context manager.
|
|
||||||
- one_vm - improve file handling by using a context manager.
|
- one_vm - improve file handling by using a context manager.
|
||||||
- postgresql_query - improve file handling by using a context manager.
|
- postgresql_query - improve file handling by using a context manager.
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
# Not enabled, but can be used with Intersight by specifying API keys.
|
|
||||||
# See tasks/main.yml for examples.
|
|
||||||
unsupported
|
|
|
@ -1,37 +0,0 @@
|
||||||
---
|
|
||||||
# Test code for the Cisco Intersight modules
|
|
||||||
# Copyright 2019, David Soper (@dsoper2)
|
|
||||||
|
|
||||||
- name: Setup API access variables
|
|
||||||
debug: msg="Setup API keys"
|
|
||||||
vars:
|
|
||||||
api_info: &api_info
|
|
||||||
api_private_key: "{{ api_private_key | default('~/Downloads/SSOSecretKey.txt') }}"
|
|
||||||
api_key_id: "{{ api_key_id | default('596cc79e5d91b400010d15ad/596cc7945d91b400010d154e/5b6275df3437357030a7795f') }}"
|
|
||||||
|
|
||||||
- name: Get infos for all servers
|
|
||||||
intersight_info:
|
|
||||||
<<: *api_info
|
|
||||||
server_names:
|
|
||||||
register: result
|
|
||||||
|
|
||||||
- name: Verify info does not report a change
|
|
||||||
assert:
|
|
||||||
that:
|
|
||||||
- result.changed == false
|
|
||||||
- "'Name' in result.intersight_servers[0]"
|
|
||||||
- "'Moid' in result.intersight_servers[0]"
|
|
||||||
|
|
||||||
- name: Get info for servers by name
|
|
||||||
intersight_info:
|
|
||||||
<<: *api_info
|
|
||||||
server_names:
|
|
||||||
- CC7UCS-13-1-1
|
|
||||||
register: result2
|
|
||||||
|
|
||||||
- name: Verify info does not report a change
|
|
||||||
assert:
|
|
||||||
that:
|
|
||||||
- result2.changed == false
|
|
||||||
- "'Name' in result2.intersight_servers[0]"
|
|
||||||
- "'Moid' in result2.intersight_servers[0]"
|
|
Loading…
Reference in a new issue