Add more linting fixes
This commit is contained in:
@@ -4,13 +4,13 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
any_errors_fatal: true
|
any_errors_fatal: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: "Sanity check the node exporter"
|
- name: "Sanity check the node exporter"
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 1
|
delay: 1
|
||||||
register: result
|
register: node_exporter_check
|
||||||
failed_when: '"node_exporter_build_info" not in result.content'
|
failed_when: '"node_exporter_build_info" not in node_exporter_check.content'
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "http://localhost:9100/metrics"
|
url: "http://localhost:9100/metrics"
|
||||||
return_content: true
|
return_content: true
|
||||||
|
|||||||
Reference in New Issue
Block a user