Better --check compatibility for ceph-mon role

Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
pull/1117/head
Daniel Marks 2016-11-24 11:54:10 +01:00
parent 3eef386532
commit 320dba7490
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@
shell: ls -1 /etc/ceph/*.keyring
changed_when: false
register: ceph_keys
always_run: true
when: cephx
- name: set keys permissions

View File

@ -12,6 +12,7 @@
changed_when: false
register: monitor_keyring
become: false
always_run: true
when: cephx
- set_fact: