From 3d1197fddc2fdd67a48ef9f11aff6c099b849a5b Mon Sep 17 00:00:00 2001 From: Tom <58692790+tchivert@users.noreply.github.com> Date: Wed, 1 Jun 2022 09:58:41 +0200 Subject: [PATCH] Change min_ansible_version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The role doesn't work with ansible 2.7.18 : ``` TASK [prometheus : prometheus | include asserts] ************************************************************************************************************** fatal: [host]: FAILED! => {"reason": "no action detected in task. This often indicates a misspelled module name, or incorrect module path.\n\nThe error appears to have been in '/usr/local/ansible/orchestrator/roles/prometheus/tasks/asserts.yml': line 9, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: 'prometheus | assert | gather the package facts'\n ^ here\n"} ``` Ansible 2.8.20 is OK. --- meta/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/main.yml b/meta/main.yml index 90a547d..ebe93ac 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -4,6 +4,6 @@ galaxy_info: description: Install and configure Prometheus and exporters company: brainsys license: GPLv3 - min_ansible_version: 2.7 + min_ansible_version: 2.8 issue_tracker_url: https://github.com/brainsys-io/ansible-role-prometheus/issues github_branch: master