Skip to content

Latest commit

 

History

History
66 lines (48 loc) · 2.59 KB

README.md

File metadata and controls

66 lines (48 loc) · 2.59 KB

Ansible Collection GitHub tag GitHub Last Commit GitHub Contributors

Ansible Galaxy Module Testing Role testing

Ansible Collection - tonyskapunk.beat

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

Ansible version compatibility

The collection is tested and supported with: ansible >= 2.9

Installing the collection

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

Using this collection

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

License

GPL-3.0-or-later