]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
update: ignore linter errors on ceph-exporter systemd tasks
authorGuillaume Abrioux <gabrioux@ibm.com>
Mon, 11 Mar 2024 23:38:19 +0000 (00:38 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Fri, 15 Mar 2024 23:51:52 +0000 (00:51 +0100)
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
infrastructure-playbooks/rolling_update.yml

index 324e9c806d5a3d3af5c383f053e853b20f501b86..b1d50af1dbc7b15d13ceba2a7c918d98e71fea06 100644 (file)
       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