diff --git a/roles/prometheus/tasks/configure.yml b/roles/prometheus/tasks/configure.yml index f6601373..dbf1b7b9 100644 --- a/roles/prometheus/tasks/configure.yml +++ b/roles/prometheus/tasks/configure.yml @@ -176,3 +176,8 @@ ansible.builtin.file: path: "{{ prometheus_config_dir }}/scrapes" state: absent + become: true + tags: + - prometheus + - configure + - prometheus_configure