Remove agent installation custom check

This commit is contained in:
Valentin Zayash 2023-05-15 08:18:37 +02:00 committed by GitHub
parent 86a49cc857
commit e1fda726fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 10 deletions

View File

@ -22,7 +22,6 @@
- grafana_agent_install - grafana_agent_install
tags: tags:
- grafana_agent_install - grafana_agent_install
when: __grafana_agent_do_install
- name: Configuration tasks - name: Configuration tasks
ansible.builtin.include_tasks: ansible.builtin.include_tasks:

View File

@ -10,12 +10,3 @@
- name: Download variable checks - name: Download variable checks
ansible.builtin.import_tasks: preflight/download.yaml ansible.builtin.import_tasks: preflight/download.yaml
- name: Set whether or not to do the install
ansible.builtin.set_fact:
__grafana_agent_do_install: >-
{{ not __grafana_agent_is_installed.stat.exists or __grafana_agent_installed_version is version_compare(grafana_agent_version, '<') }}
- name: Do install
ansible.builtin.debug:
var: __grafana_agent_do_install