diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..dde6f4a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,9 @@ +--- +# See https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates +version: 2 +updates: + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/galaxy.svg b/.github/galaxy.svg deleted file mode 100644 index bdc8e04..0000000 --- a/.github/galaxy.svg +++ /dev/null @@ -1,522 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.github/license.svg b/.github/license.svg deleted file mode 100644 index 4ab6d9a..0000000 --- a/.github/license.svg +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - image/svg+xml - - - - - - 3D <l3d@c3woc.de> - - - - - MIT License - - - - - - - - - - - - - - - - - - - - - - - - - - - MIT - MIT - - - license - license - - diff --git a/.github/workflows/ansible-linting-check.yml b/.github/workflows/ansible-linting-check.yml index 150e908..5c55ca6 100644 --- a/.github/workflows/ansible-linting-check.yml +++ b/.github/workflows/ansible-linting-check.yml @@ -2,22 +2,22 @@ name: Ansible Lint check # yamllint disable-line rule:truthy -on: - push: - branches: '*' - pull_request: - branches: '*' +on: [push, pull_request] jobs: build: - + name: Ansible Lint runs-on: ubuntu-latest steps: - name: 'checkout git repo' uses: actions/checkout@v3 + with: + lfs: true + submodules: false + fetch-depth: 0 - name: 'Lint Ansible Playbook' uses: ansible/ansible-lint-action@v6 with: - targets: "." + path: "." diff --git a/README.md b/README.md index e5a48d2..9d54789 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ -[![License](https://raw.githubusercontent.com/roles-ansible/ansible_role_prometheus_ping_exporter/main/.github/license.svg)](https://github.com/roles-ansible/ansible_role_prometheus_ping_exporter/blob/main/LICENSE) -[![Galaxy](https://github.com/roles-ansible/ansible_role_prometheus_ping_exporter/raw/main/.github/galaxy.svg)](https://galaxy.ansible.com/do1jlr/prometheus_ping_exporter) +[![Ansible Galaxy](https://ansible.l3d.space/svg/l3d.prometheus_ping_exporter.svg)](https://galaxy.ansible.com/l3d/prometheus_ping_exporter) +[![BSD-3 Clause](https://ansible.l3d.space/svg/l3d.prometheus_ping_exporter_license.svg)](LICENSE) +[![Maintainance](https://ansible.l3d.space/svg/l3d.prometheus_ping_exporter_maintainance.svg)](https://ansible.l3d.space/#l3d.prometheus_ping_exporter) # Ansible role prometheus ping exporter Ansible role to install the prometheus node exporter from [github.com/czerwonk/ping_exporter](https://github.com/czerwonk/ping_exporter.git) @@ -7,16 +8,20 @@ Ansible role to install the prometheus node exporter from [github.com/czerwonk/p ## Some variables | value | default | | --- | --- | -| ping_exporter__user | ``ping_exporter`` | -| ping_exporter__group | ``ping_exporter`` | -| ping_exporter__user_home | ``/var/lib/ping_exporter`` | -| ping_exporter__shell | ``/bin/false`` | -| ping_exporter__version | ``latest`` | -| **ping_exporter__targets** | `` []`` | -| ping_exporter__nameserver | ``9.9.9.9`` | -| ping_exporter__web_listen_address | ``:9427`` | -| ping_exporter__filename | *see defaults/main.yml* | -| submodules_versioncheck | ``false`` | +| `ping_exporter__targets` | `` []`` | +| `ping_exporter__user` | ``ping_exporter`` | +| `ping_exporter__group` | ``ping_exporter`` | +| `ping_exporter__user_home` | ``/var/lib/ping_exporter`` | +| `ping_exporter__shell` | ``/bin/false`` | +| `ping_exporter__version` | ``latest`` | +| `ping_exporter__nameserver` | ``9.9.9.9`` | +| `ping_exporter__web_listen_address` | ``:9427`` | +| `ping_exporter__filename` | *see defaults/main.yml* | +| `ping_exporter__dns` | *see defaults/main.yml* | +| `ping_exporter__ping` | *see defaults/main.yml* | +| `ping_exporter__options` | *see defaults/main.yml* | +| `submodules_versioncheck` | ``false`` | + Please define all your targets in the ``ping_exporter__targets`` array. diff --git a/vars/main.yml b/vars/main.yml index f302119..1f08252 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -11,5 +11,5 @@ ping_arch_map: ping_arch: "{{ ping_arch_map[ansible_architecture] | default(ansible_architecture) }}" # versionscheck -playbook_version_number: 7 # should be a integer +playbook_version_number: 8 # should be a integer playbook_version_path: 'do1jlr.prometheus_ping_exporter.version'