mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1117 from D3N14L/master
Improve --check compatibility for ceph-common, ceph-mon and ceph-rgw rolespull/1102/head
commit
78b6ae7dae
|
@ -169,12 +169,14 @@
|
|||
shell: "stat /var/run/ceph/*.asok > /dev/null 2>&1"
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
always_run: true
|
||||
register: socket
|
||||
|
||||
- name: check for a rados gateway socket
|
||||
shell: "stat {{ rbd_client_admin_socket_path }}*.asok > /dev/null 2>&1"
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
always_run: true
|
||||
register: socketrgw
|
||||
|
||||
- name: create a local fetch directory if it does not exist
|
||||
|
@ -197,6 +199,7 @@
|
|||
changed_when: false
|
||||
register: cluster_uuid
|
||||
become: false
|
||||
always_run: true
|
||||
when: generate_fsid
|
||||
|
||||
- name: create ceph conf directory
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
changed_when: false
|
||||
register: monitor_keyring
|
||||
become: false
|
||||
always_run: true
|
||||
when: cephx
|
||||
|
||||
- set_fact:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
register: rgwstatus
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
always_run: true
|
||||
|
||||
- name: start rgw
|
||||
command: /etc/init.d/radosgw start
|
||||
|
|
Loading…
Reference in New Issue