From f6b0cc04302c66e3969d0d49ad15cbd05efb3bb5 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 26 Sep 2021 23:17:54 +0200 Subject: [PATCH] update ansible to use FQCN at more places --- .github/galaxy.svg | 79 ++++++++++++++++ .github/license.svg | 217 ++++++++++++++++++++++++++++++++++++++++++++ handlers/main.yml | 6 +- meta/main.yml | 2 +- tasks/main.yml | 1 + vars/main.yml | 2 +- 6 files changed, 302 insertions(+), 5 deletions(-) create mode 100644 .github/galaxy.svg create mode 100644 .github/license.svg diff --git a/.github/galaxy.svg b/.github/galaxy.svg new file mode 100644 index 0000000..7bd7e3c --- /dev/null +++ b/.github/galaxy.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.github/license.svg b/.github/license.svg new file mode 100644 index 0000000..4ab6d9a --- /dev/null +++ b/.github/license.svg @@ -0,0 +1,217 @@ + + + + + + image/svg+xml + + + + + + 3D <l3d@c3woc.de> + + + + + MIT License + + + + + + + + + + + + + + + + + + + + + + + + + + + MIT + MIT + + + license + license + + diff --git a/handlers/main.yml b/handlers/main.yml index 48a9ca5..6875c44 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,18 +1,18 @@ --- - name: Restart ntp daemons on Linux become: true - service: + ansible.builtin.service: name: "{{ ntp_service }}" state: restarted - name: Restart ntp daemons on FreeBSD become: true - service: + ansible.builtin.service: name: "{{ ntp_service }}" state: restarted - name: Restart ntp daemons on OpenBSD become: true - service: + ansible.builtin.service: name: "{{ ntp_service }}" state: restarted diff --git a/meta/main.yml b/meta/main.yml index b2b8bfe..3945ae7 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -5,7 +5,7 @@ galaxy_info: description: Ansible role for manage ntp daemon license: "Apache" - min_ansible_version: 2.8 + min_ansible_version: 2.11 platforms: - name: Archlinux diff --git a/tasks/main.yml b/tasks/main.yml index e0c272e..0ccb762 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -8,5 +8,6 @@ - name: Install ntp ansible.builtin.include_tasks: "{{ lookup('first_found', ntp__install) }}" + - name: Configure ntp ansible.builtin.include_tasks: config.yml diff --git a/vars/main.yml b/vars/main.yml index afa23cf..e560b19 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,5 +1,5 @@ --- -playbook_version_number: 2052 +playbook_version_number: 2053 playbook_version_path: 'role-ntp_chaos-bodensee_github.com.version' ntp__vars: