2022-11-21 14:58:47 +01:00
|
|
|
---
|
|
|
|
- name: Run optional versionscheck
|
|
|
|
ansible.builtin.include_tasks: versioncheck.yml
|
2022-11-21 16:22:44 +01:00
|
|
|
when: submodules_versioncheck | bool
|
|
|
|
|
|
|
|
- name: Create User for ping exporter
|
|
|
|
ansible.builtin.include_tasks: create_user.yml
|
2022-11-21 16:57:07 +01:00
|
|
|
|
|
|
|
- name: Get latest release and define version
|
|
|
|
ansible.builtin.include_tasks: set_version.yml
|
2022-11-21 17:39:07 +01:00
|
|
|
|
|
|
|
- name: Install ping exporter
|
|
|
|
ansible.builtin.include_tasks: install.yml
|
|
|
|
|
|
|
|
- name: Configurel ping exporter
|
|
|
|
ansible.builtin.include_tasks: config.yml
|
2022-11-21 17:57:49 +01:00
|
|
|
|
|
|
|
- name: Start systemd unit
|
|
|
|
ansible.builtin.include_tasks: systemd.yml
|