automatics_ai.automatics.login (2.1.2) — module

Login to an automatics server

Authors: automatics.AI Development (@automatics-ai) <dev@automatics.ai>

Install collection

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


Add to requirements.yml

  collections:
    - name: automatics_ai.automatics
      version: 2.1.2

Description

Login to an automatics server

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Login to automatics
  automatics_ai.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_ai.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