automatics_ai.automatics.automatics_login (1.0.0) — module

Login to an automatics server

Authors: Manuel Sanz (manuel.sanz@automatics.ai)

Install collection

Install with ansible-galaxy collection install automatics_ai.automatics:==1.0.0


Add to requirements.yml

  collections:
    - name: automatics_ai.automatics
      version: 1.0.0

Description

Login to an automatics server

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Login to automatics
  automatics.automatics.automatics_login:
    hostname: automatics.example.org
    username: ansible
    password: password
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Login to automatics without certificate verification.
  automatics.automatics.automatics_login:
    hostname: automatics.example.org
    username: ansible
    password: password
    validate_certs: false

Inputs

    
hostname:
    description:
    - Hostname of the automatics server.
    required: true
    type: str

password:
    description:
    - Password to use for automatics login.
    required: true
    type: str

username:
    description:
    - Username to use for automatics login.
    required: true
    type: str

validate_certs:
    default: true
    description:
    - Verify the https certificate of the automatics server.
    required: false
    type: bool

Outputs

token:
  description: The automatics authentication bearer token.
  returned: always
  sample: aW4iLCJlbWFpbCI6ImFkbWluIiw...
  type: str