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>
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 }}"
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 }}"
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 }}"