Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop curl check #120

Merged
merged 2 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading