Note
This plugin is part of the community.skydive collection.
To install it use: ansible-galaxy collection install community.skydive
.
To use it in a playbook, specify: community.skydive.skydive_node
.
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments | |
---|---|---|---|
host string | To define host for the node. | ||
metadata string | To define metadata for the node. | ||
name string / required | To define name for the node. | ||
node_type string / required | To define type for the node. | ||
provider string | A dict object containing connection details. | ||
endpoint string / required | Specifies the hostname/address along with the port as localhost:8082 for connecting to the remote instance of SKYDIVE client over the REST API. | ||
insecure boolean |
| Ignore SSL certification verification. | |
password string | Specifies the password to use to authenticate the connection to the remote instance of SKYDIVE client. | ||
ssl boolean |
| Specifies the ssl parameter that decides if the connection type shall be http or https. | |
user string | Configures the username to use to authenticate the connection to the remote instance of SKYDIVE client. | ||
seed string | Default: "" | used to generate the UUID of the node | |
state string |
| State of the Skydive Node. If value is present new node will be created else if it is absent it will be deleted. |
Note
connection: local
.- name: create tor node community.skydive.skydive_node: name: TOR node_type: fabric seed: TOR1 metadata: Model: Cisco 5300 state: present provider: endpoint: localhost:8082 username: admin password: admin - name: update tor node community.skydive.skydive_node: name: TOR node_type: host seed: TOR1 metadata: Model: Cisco 3400 state: update provider: endpoint: localhost:8082 username: admin password: admin - name: Delete the tor node community.skydive.skydive_node: name: TOR node_type: host seed: TOR1 metadata: Model: Cisco 3400 state: absent provider: endpoint: localhost:8082 username: admin password: admin
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/skydive/skydive_node_module.html