Getting started

Example inventory

debops.ntp is included by default in the common.yml DebOps playbook; you don't need to do anything to have it executed.

Example playbook

Here's an example playbook for using the role without the DebOps playbook:


- name: Manage Network Time Protocol service
  hosts: [ 'debops_all_hosts', 'debops_service_ntp' ]
  become: True


    - role: debops.ferm
      tags: [ 'role::ferm' ]
        - '{{ ntp__ferm__dependent_rules }}'

    - role: debops.ntp
      tags: [ 'role::ntp' ]