adfinis / adfinis.facts / 1.0.2 / module / timer_facts Return timer state information as fact data | "added in version" 2.5 of adfinis.facts" Authors: Adam Miller (@maxamillion), Adfinis AGadfinis.facts.timer_facts (1.0.2) — module
Install with ansible-galaxy collection install adfinis.facts:==1.0.2
collections: - name: adfinis.facts version: 1.0.2
Return timer state information as fact data for various timer management utilities.
- name: Populate timer facts ansible.builtin.timer_facts:
- name: Print timer facts ansible.builtin.debug: var: ansible_facts.timers
ansible_facts: contains: timers: contains: name: description: Name of the timer. returned: always sample: arp-ethers.timer type: str source: description: - Init system of the timer. - C(systemd) returned: always sample: sysv type: str state: description: - State of the timer. - 'This commonly includes (but is not limited to) the following: C(failed), C(running), C(stopped) or C(unknown).' - Depending on the used init system additional states might be returned. returned: always sample: running type: str status: description: - State of the timer. - Either C(enabled), C(disabled), C(static), C(indirect) or C(unknown). returned: systemd systems sample: enabled type: str description: States of the timers with timer name as key. returned: always type: complex description: Facts to add to ansible_facts about the timers on the system returned: always type: complex