diff --git a/roles/ceph-facts/tasks/facts.yml b/roles/ceph-facts/tasks/facts.yml index 74de769aa..8e63e924a 100644 --- a/roles/ceph-facts/tasks/facts.yml +++ b/roles/ceph-facts/tasks/facts.yml @@ -147,6 +147,7 @@ - name: resolve device link(s) command: readlink -f {{ item }} changed_when: false + check_mode: no with_items: "{{ devices }}" register: devices_prepare_canonicalize when: @@ -256,6 +257,7 @@ command: grep 'osd pool default crush rule' /etc/ceph/{{ cluster }}.conf register: crush_rule_variable changed_when: false + check_mode: no failed_when: false when: ceph_conf.stat.exists diff --git a/roles/ceph-mgr/tasks/mgr_modules.yml b/roles/ceph-mgr/tasks/mgr_modules.yml index 057e517c3..f044dcef4 100644 --- a/roles/ceph-mgr/tasks/mgr_modules.yml +++ b/roles/ceph-mgr/tasks/mgr_modules.yml @@ -11,6 +11,7 @@ - name: get enabled modules from ceph-mgr command: "{{ docker_exec_cmd_mgr | default('') }} ceph --cluster {{ cluster }} --format json mgr module ls" + check_mode: no changed_when: false register: _ceph_mgr_modules delegate_to: "{{ groups[mon_group_name][0] }}"