From: Guillaume Abrioux Date: Mon, 11 Mar 2024 23:38:19 +0000 (+0100) Subject: update: ignore linter errors on ceph-exporter systemd tasks X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=12573bc97aef2caa25c77e0a4c3635585e47258d;p=ceph-ansible.git update: ignore linter errors on ceph-exporter systemd tasks Signed-off-by: Guillaume Abrioux --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 324e9c806..b1d50af1d 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -1169,14 +1169,14 @@ ansible.builtin.meta: end_play when: not containerized_deployment | bool - - name: Stop the ceph-exporter service + - name: Stop the ceph-exporter service # noqa: ignore-errors ansible.builtin.systemd: name: "{{ 'ceph-exporter@' + ansible_facts['hostname'] if containerized_deployment | bool else 'ceph-exporter.service' }}" state: stopped ignore_errors: true # it needs to be done in a separate task otherwise the stop just before doesn't work. - - name: Mask and disable the ceph-exporter service + - name: Mask and disable the ceph-exporter service # noqa: ignore-errors ansible.builtin.systemd: name: "{{ 'ceph-exporter@' + ansible_facts['hostname'] if containerized_deployment | bool else 'ceph-exporter.service' }}" enabled: false