diff --git a/tasks/install.yml b/tasks/install.yml index a490e2b..4bbc46a 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -3,6 +3,10 @@ package: name: "{{ item }}" state: present + register: _install_dep_packages + until: _install_dep_packages is success + retries: 5 + delay: 2 with_items: "{{ node_exporter_dependencies }}" - name: Create the node_exporter group