Skip to content

Commit

Permalink
Drop curl check (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-zhuravlev authored Oct 18, 2023
1 parent 9adac68 commit a0d8cad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
4 changes: 3 additions & 1 deletion roles/grafana_agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ and Fedora linux distributions.

## Requirements

To use this role, You need a YAML file having the Grafana Agent configuration
Please ensure that `curl` is intalled on Ansible controller.

To use this role, You need a YAML file having the Grafana Agent configuration.

## Role Variables

Expand Down
10 changes: 0 additions & 10 deletions roles/grafana_agent/tasks/preflight/download.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
---
- name: Gather the package facts
ansible.builtin.package_facts:
manager: auto

- name: Fail if Curl is not installed
ansible.builtin.fail:
msg: "curl is not installed!"
when: "'curl' not in ansible_facts.packages"


- name: Get Grafana Agent version from Github
when: grafana_agent_version == 'latest' and not __grafana_agent_local_install
block:
Expand Down

0 comments on commit a0d8cad

Please sign in to comment.