]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Updated pull[port|proto] to pull_[port|proto] and regenerated base group vars
authorChris Wells <chris@nexcess.net>
Sat, 7 Jan 2017 14:33:24 +0000 (09:33 -0500)
committerChris Wells <chris@nexcess.net>
Sat, 7 Jan 2017 14:33:24 +0000 (09:33 -0500)
group_vars/rgws.yml.sample
roles/ceph-rgw/defaults/main.yml
roles/ceph-rgw/tasks/multisite/secondary.yml

index 4e193e01821a0b6e249e5a34e2e2be6d23bd747b..a32c9f63213d1afb7d2d1864c79af193353bc190 100644 (file)
@@ -30,6 +30,10 @@ dummy:
 # allowing root to not require tty
 #radosgw_user: root
 
+# Multi-site remote pull URL variables
+#rgw_pullport: "{{ radosgw_civetweb_port }}"
+#rgw_pullproto: "http"
+
 ##########
 # DOCKER #
 ##########
index 12072b8deb6f31dd071d20f90661591f7f839b10..9ae24da3fceee5e0648e28c3ee8dbb35060c7898 100644 (file)
@@ -23,8 +23,8 @@ cephx: true
 radosgw_user: root
 
 # Multi-site remote pull URL variables
-rgw_pullport: "{{ radosgw_civetweb_port }}"
-rgw_pullproto: "http"
+rgw_pull_port: "{{ radosgw_civetweb_port }}"
+rgw_pull_proto: "http"
 
 ##########
 # DOCKER #
index a83307fdb7d2dac60cd3b89496a8e65d67a26194..7623e832c3f9ec0a5fbafbb396e348555b8d00a5 100644 (file)
@@ -1,13 +1,13 @@
 ---
 - 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
   when: ("No such file or directory" in realmcheck.stderr)
   notify:
     - update 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
   when: ("No such file or directory" in realmcheck.stderr)
   notify: