diff --git a/.github/galaxy.svg b/.github/galaxy.svg deleted file mode 100644 index 7bd7e3c..0000000 --- a/.github/galaxy.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.github/license.svg b/.github/license.svg deleted file mode 100644 index 67cfb13..0000000 --- a/.github/license.svg +++ /dev/null @@ -1,84 +0,0 @@ - - - - - image/svg+xml - - - - - 3D <l3d@c3woc.de> - - - - - MIT License - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.github/workflows/ansible-linting-check.yml b/.github/workflows/ansible-linting-check.yml index 150e908..5ed3e8a 100644 --- a/.github/workflows/ansible-linting-check.yml +++ b/.github/workflows/ansible-linting-check.yml @@ -16,8 +16,12 @@ jobs: steps: - name: 'checkout git repo' uses: actions/checkout@v3 + with: + lfs: true + submodules: true + fetch-depth: 0 - name: 'Lint Ansible Playbook' uses: ansible/ansible-lint-action@v6 with: - targets: "." + path: "." diff --git a/Gemfile b/Gemfile deleted file mode 100644 index 6e1533f..0000000 --- a/Gemfile +++ /dev/null @@ -1,11 +0,0 @@ -source "https://rubygems.org" - -gem "test-kitchen" -gem "kitchen-ansible" -gem "kitchen-docker" -gem "kitchen-inspec" -gem "kitchen-vagrant" -gem "kitchen-sync" -gem 'winrm' -gem 'winrm-fs' -gem 'vagrant-winrm' diff --git a/README.md b/README.md index 4790853..ddf4ae0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -[![Ansible Galaxy](https://raw.githubusercontent.com/roles-ansible/ansible_role_ntp/main/.github/galaxy.svg?sanitize=true)](https://galaxy.ansible.com/do1jlr/ntp) [![MIT License](https://raw.githubusercontent.com/roles-ansible/ansible_role_ntp/main/.github/license.svg?sanitize=true)](https://github.com/roles-ansible/ansible_role_ntp/blob/main/LICENSE) +[![Ansible Galaxy](https://ansible.l3d.space/svg/l3d.ntp.svg)](https://galaxy.ansible.com/l3d/ntp) +[![BSD-3 Clause](https://ansible.l3d.space/svg/l3d.ntp_license.svg)](LICENSE) +[![Maintainance](https://ansible.l3d.space/svg/l3d.ntp_maintainance.svg)](https://ansible.l3d.space/#l3d.ntp) Ansible role ntp ====================== @@ -43,14 +45,43 @@ ntp_statistics: false submodules_versioncheck: false ``` +## Example Usage + +### Getting this Role +You can install this role using ansible Galaxy: +```bash +ansible-galaxy install l3d.ntp +``` + +Or download or clone this git repo. Example: +```bash +git clone https://github.com/roles-ansible/ansible_role_ntp.git l3d.ntp +``` +### Using this role in a Playbook +```yml +--- +- name: Install and Configure NTP + hosts: example.com + roles: + - {role: l3d.ntp, tags: ntp} + vars: + submodules_versioncheck: true + ntp_set_time_zone: true + ntp_timezone: Zulu + # In this example, we enabled optional version check + # and set timezone to Zulu. +``` + + ## Resources [ntp on ubuntu](https://doc.ubuntu-fr.org/ntp) ## Author Information -This role was created in 2018 by diodonfrost. -This role was updated and maintained since 2019 by L3D *([DO1JLR](https://github.com/do1jlr))* ++ This role was created in 2018 by diodonfrost. ++ This role was updated and maintained since 2019 by L3D *([DO1JLR](https://github.com/do1jlr))* ++ In 2023 this role moved from ``do1jlr.ntp`` to ``l3d.ntp`` Namespace. ## Contribution Pleas feel free to open a issue or *(even better)* create a Pull Request if there is a problem or you missing a feature or something like that. diff --git a/meta/main.yml b/meta/main.yml index 00cc6c1..0e96c96 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,11 +1,11 @@ --- galaxy_info: role_name: ntp - author: do1jlr - description: install and configure the Network Time Protocol (NTP) Daemon + author: l3d + description: Install and Configure the Network Time Protocol (NTP) Daemon license: "Apache-2.0" - min_ansible_version: '2.12' + min_ansible_version: '2.13' platforms: - name: ArchLinux @@ -24,5 +24,6 @@ galaxy_info: - packaging - ntp - time + - linux dependencies: [] diff --git a/vars/main.yml b/vars/main.yml index 9354ccd..52ef6d0 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,5 +1,5 @@ --- -playbook_version_number: 2055 +playbook_version_number: 2057 playbook_version_path: 'role-ntp_chaos-bodensee_github.com.version' ntp__vars: