veeamhub.veeam.veeam_vbr_rest_credentials_info (2.2.1) — module

Get Veeam Backup & Replication Credentials.

| "added in version" 1.0.0 of veeamhub.veeam"

Authors: Markus Kraus (@vMarkusK)

preview | supported by community

Install collection

Install with ansible-galaxy collection install veeamhub.veeam:==2.2.1


Add to requirements.yml

  collections:
    - name: veeamhub.veeam
      version: 2.2.1

Description

Get Veeam Backup & Replication Credentials.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Pass in a message
- name: Test Veeam RestAPI Collection
  hosts: localhost
  tasks:
    - name: Test veeam_vbr_rest_credentials_info
      veeamhub.veeam.veeam_vbr_rest_credentials_info:
        server_name: '<FQDN/IP>'
        server_username: '<Username>'
        server_password: '<Password>'
      register: testout
    - name: Debug Result
      ansible.builtin.debug:
        var: testout

Inputs

    
server_name:
    description: VBR Server Name or IP
    required: true
    type: str

server_port:
    default: 9419
    description: VBR RestAPI Sever Port
    required: false
    type: str

validate_certs:
    default: false
    description: Validate SSL certs.
    required: false
    type: bool

server_password:
    description: VBR Server password
    required: true
    type: str

server_username:
    description: VBR Server Username
    required: true
    type: str