tonyskapunk.beat.beat (1.2.1712786362+202404102159.gite8a438e) — module

Beat time module

| "added in version" 1.0.0 of tonyskapunk.beat"

Authors: Tony Garcia (@tonyskapunk)

Install collection

Install with ansible-galaxy collection install tonyskapunk.beat:==1.2.1712786362+202404102159.gite8a438e


Add to requirements.yml

  collections:
    - name: tonyskapunk.beat
      version: 1.2.1712786362+202404102159.gite8a438e

Description

Beat time module is a module that returns the current time using internet time (beats).

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Use centibeats
- name: Use centibeats
  tonyskapunk.beat.beat:
    centibeats: true
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Do not use centibeats
- name: Do not use centibeats
  tonyskapunk.beat.beat:

Inputs

    
centibeats:
    default: false
    description: Whether to return centibeats or not.
    type: bool

Outputs

beats:
  description: The current time in beats.
  returned: always
  sample: '@123.456'
  type: str
centibeats:
  description: Whether centibeats were used or not.
  returned: always
  sample: true
  type: bool