If we're working with a jewel cluster then this service will not exist.
This is mainly a problem with CI testing because our tests are setup to
work with both jewel and luminous, meaning that eventhough we want to
test jewel we still have a nfs-ganesha host in the test causing these
tasks to run.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
become: true
pre_tasks:
+ # failed_when: false is here because if we're
+ # working with a jewel cluster then ceph nfs
+ # will not exist
- name: stop non-containerized ceph nfs(s)
service:
name: nfs-ganesha
state: stopped
enabled: no
+ failed_when: false
- set_fact:
ceph_uid: 64045