automatics.automatics.automatics_login module – Login to an automatics server
Note
This module is part of the automatics.automatics collection (version version_filler).
To install it, use: ansible-galaxy collection install automatics.automatics.
To use it in a playbook, specify: automatics.automatics.automatics_login.
Synopsis
Login to an automatics server
Parameters
Parameter |
Comments |
|---|---|
Hostname of the automatics server. |
|
Password to use for automatics login. |
|
Username to use for automatics login. |
|
Verify the https certificate of the automatics server. Choices:
|
Examples
- name: Login to automatics
automatics.automatics.automatics_login:
hostname: automatics.example.org
username: ansible
password: password
- name: Login to automatics without certificate verification.
automatics.automatics.automatics_login:
hostname: automatics.example.org
username: ansible
password: password
validate_certs: false
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
The automatics authentication bearer token. Returned: always Sample: |