davidban77.gns3.gns3_version (1.5.0) — module

Retrieves GNS3 server version

| "added in version" 2.8 of davidban77.gns3"

Authors: David Flores (@davidban77)

preview | supported by community

Install collection

Install with ansible-galaxy collection install davidban77.gns3:==1.5.0


Add to requirements.yml

  collections:
    - name: davidban77.gns3
      version: 1.5.0

Description

Retrieves GNS3 server version using gns3fy


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Retrieve the GNS3 server version
- name: Get the server version
  gns3_version:
    url: http://localhost
    port: 3080
  register: result
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- debug: var=result

Inputs

    
url:
    description:
    - URL target of the GNS3 server
    required: true
    type: str

port:
    default: 3080
    description:
    - TCP port to connect to server REST API
    type: int

user:
    description:
    - User to connect to GNS3 server
    type: str

password:
    description:
    - Password to connect to GNS3 server
    type: str

Outputs

local_compute:
  description: Whether this is a local server or not
  returned: always
  type: bool
version:
  description: Version number of the server
  returned: always
  type: str