Updated pull[port|proto] to pull_[port|proto] and regenerated base group vars

pull/1208/head
Chris Wells 2017-01-07 09:33:24 -05:00
parent 5f37ae9d1f
commit d609dca7a6
No known key found for this signature in database
GPG Key ID: D22385942F77477C
3 changed files with 8 additions and 4 deletions

View File

@ -30,6 +30,10 @@ dummy:
# allowing root to not require tty # allowing root to not require tty
#radosgw_user: root #radosgw_user: root
# Multi-site remote pull URL variables
#rgw_pullport: "{{ radosgw_civetweb_port }}"
#rgw_pullproto: "http"
########## ##########
# DOCKER # # DOCKER #
########## ##########

View File

@ -23,8 +23,8 @@ cephx: true
radosgw_user: root radosgw_user: root
# Multi-site remote pull URL variables # Multi-site remote pull URL variables
rgw_pullport: "{{ radosgw_civetweb_port }}" rgw_pull_port: "{{ radosgw_civetweb_port }}"
rgw_pullproto: "http" rgw_pull_proto: "http"
########## ##########
# DOCKER # # DOCKER #

View File

@ -1,13 +1,13 @@
--- ---
- name: fetch the realm - name: fetch the realm
command: radosgw-admin realm pull --url={{ rgw_pullproto }}://{{ rgw_pullhost }}:{{ rgw_pullport }} --access-key={{ system_access_key }} --secret={{ system_secret_key }} command: radosgw-admin realm pull --url={{ rgw_pull_proto }}://{{ rgw_pullhost }}:{{ rgw_pull_port }} --access-key={{ system_access_key }} --secret={{ system_secret_key }}
run_once: true run_once: true
when: ("No such file or directory" in realmcheck.stderr) when: ("No such file or directory" in realmcheck.stderr)
notify: notify:
- update period - update period
- name: fetch the period - name: fetch the period
command: radosgw-admin period pull --url={{ rgw_pullproto }}://{{ rgw_pullhost }}:{{ rgw_pullport }} --access-key={{ system_access_key }} --secret={{ system_secret_key }} command: radosgw-admin period pull --url={{ rgw_pull_proto }}://{{ rgw_pullhost }}:{{ rgw_pull_port }} --access-key={{ system_access_key }} --secret={{ system_secret_key }}
run_once: true run_once: true
when: ("No such file or directory" in realmcheck.stderr) when: ("No such file or directory" in realmcheck.stderr)
notify: notify: