mirror of https://github.com/ceph/ceph-ansible.git
Syntax error fix in rgw multisite role
This checkin fixes a syntax error in RGW multisite role under when clause. Fixes: #2704 Signed-off-by: Vishal Kanaujia <vishal.kanaujia@flipkart.com>pull/2703/head
parent
41b4632abc
commit
2cdb0d1812
|
@ -3,7 +3,7 @@
|
|||
command: radosgw-admin realm create --rgw-realm={{ rgw_realm }} --default
|
||||
run_once: true
|
||||
when:
|
||||
- 'No such file or directory' in realmcheck.stderr
|
||||
- "'No such file or directory' in realmcheck.stderr"
|
||||
- rgw_zonemaster
|
||||
notify:
|
||||
- update period
|
||||
|
@ -12,7 +12,7 @@
|
|||
command: radosgw-admin zonegroup create --rgw-zonegroup={{ rgw_zonegroup }} --endpoints=http://{{ ansible_fqdn }}:{{ radosgw_civetweb_port }} --master --default
|
||||
run_once: true
|
||||
when:
|
||||
- 'No such file or directory' in zonegroupcheck.stderr
|
||||
- "'No such file or directory' in zonegroupcheck.stderr"
|
||||
- rgw_zonemaster
|
||||
notify:
|
||||
- update period
|
||||
|
@ -21,7 +21,7 @@
|
|||
command: radosgw-admin zone create --rgw-zonegroup={{ rgw_zonegroup }} --rgw-zone={{ rgw_zone }} --endpoints=http://{{ ansible_fqdn }}:{{ radosgw_civetweb_port }} --access-key={{ system_access_key }} --secret={{ system_secret_key }} --default --master
|
||||
run_once: true
|
||||
when:
|
||||
- 'No such file or directory' in zonecheck.stderr
|
||||
- "'No such file or directory' in zonecheck.stderr"
|
||||
- rgw_zonemaster
|
||||
notify:
|
||||
- update period
|
||||
|
@ -30,6 +30,6 @@
|
|||
command: radosgw-admin user create --uid=zone.user --display-name="Zone User" --access-key={{ system_access_key }} --secret={{ system_secret_key }} --system
|
||||
run_once: true
|
||||
when:
|
||||
- 'could not fetch user info: no user info saved' in usercheck.stderr
|
||||
- "'could not fetch user info: no user info saved' in usercheck.stderr"
|
||||
notify:
|
||||
- update period
|
||||
|
|
Loading…
Reference in New Issue