Issue updating ignore_errors
- name: Verify if slurm-exporter is already installed
command: ls /usr/bin/prometheus-slurm-exporter
register: slurm_exporter_status
- changed_when: False
- ignore_errors: yes
+ changed_when: false
+ failed_when: false
- name: Install slurm exporter
include_tasks: install_slurm_exporter.yml
- name: Verify if kubernetes is already installed
command: ls /usr/bin/kubectl
register: k8s_installation_status
- changed_when: False
- ignore_errors: yes
+ changed_when: false
+ failed_when: false
- name: Install prometheus on host
include_tasks: install_prometheus.yml
