Based on the beat project.
Documentation for the collection.
This collection provides a module and a role to exemplify the use of them through collections
The collection is tested and supported with: ansible >= 2.9
ansible-galaxy collection install tonyskapunk.beat
You can also include it in a requirements.yml
file and install it via ansible-galaxy collection install -r requirements.yml
, using the format:
---
collections:
- name: tonyskapunk.beat
You can call modules by their Fully Qualified Collection Namespace (FQCN), such as tonyskapunk.beat.beat
:
- name: Using beat
hosts: localhost
tasks:
- name: Get internet time
tonyskapunk.beat.beat:
centibeats: true
register: beats
or you can add full namespace and collection name in the collections
element in your playbook
- name: Using grafana collection
hosts: localhost
collection:
- tonyskapunk.beat
tasks:
- name: Get internet time
beat:
centibeats: true
register: beats
GPL-3.0-or-later