]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
all: Ignore warnings about systemd failing to control init scripts 578/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 17 Jun 2020 14:50:46 +0000 (10:50 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 17 Jun 2020 16:26:50 +0000 (12:26 -0400)
Using the systemd ansible module doesn't help either

https://github.com/ansible/ansible/issues/36585
https://github.com/ansible/ansible/issues/22171

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/common/tasks/nagios.yml
roles/testnode/tasks/apt_systems.yml
roles/testnode/tasks/ntp.yml

index fa11678f79fcab893c3d2db2f9685d84bd890219..cc926bf22e5cfd3a0d065fae7907dfad75f1864f 100644 (file)
     name: "{{ nrpe_service_name }}"
     enabled: yes
     state: started
+  # There's an issue with ansible<=2.9 and our custom built kernels (5.8 as of this commit) where the service and systemd modules don't have backwards compatibility with init scripts
+  ignore_errors: "{{ 'ceph' in ansible_kernel }}"
index 8bf81a2bf9378c685d4068da9f799c57f09f5abc..1f6f01fe57345a2c8449f8e323510ef7d711fb5c 100644 (file)
@@ -74,3 +74,5 @@
   service:
     name: apache2
     state: stopped
+  # There's an issue with ansible<=2.9 and our custom built kernels (5.8 as of this commit) where the service and systemd modules don't have backwards compatibility with init scripts
+  ignore_errors: "{{ 'ceph' in ansible_kernel }}"
index aa6982b409e313838d237d2e44801c695ae899d4..9ec8f4030438c330f13b3fc2959bfa50e633c6a6 100644 (file)
@@ -52,3 +52,5 @@
     name: "{{ntp_service_name}}"
     enabled: yes
     state: started
+  # There's an issue with ansible<=2.9 and our custom built kernels (5.8 as of this commit) where the service and systemd modules don't have backwards compatibility with init scripts
+  ignore_errors: "{{ 'ceph' in ansible_kernel }}"