mirror of https://github.com/ceph/ceph-ansible.git
Speed up the some facts settings by running them once
Signed-off-by: Teoman ONAY <tonay@ibm.com>rhcs-4.3
parent
e832c9e308
commit
fe0dd57f71
|
@ -34,6 +34,7 @@
|
|||
name: ceph-facts
|
||||
tasks_from: set_radosgw_address.yml
|
||||
loop: "{{ groups.get(rgw_group_name, []) }}"
|
||||
run_once: true
|
||||
loop_control:
|
||||
loop_var: ceph_dashboard_call_item
|
||||
when: inventory_hostname in groups.get(rgw_group_name, [])
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
loop: "{{ groups.get(rgw_group_name, []) }}"
|
||||
delegate_to: "{{ item }}"
|
||||
delegate_facts: true
|
||||
run_once: true
|
||||
when: ip_version == 'ipv4'
|
||||
|
||||
- name: set_fact _radosgw_address to radosgw_interface - ipv6
|
||||
|
@ -59,6 +60,7 @@
|
|||
loop: "{{ groups.get(rgw_group_name, []) }}"
|
||||
delegate_to: "{{ item }}"
|
||||
delegate_facts: true
|
||||
run_once: true
|
||||
when: ip_version == 'ipv6'
|
||||
|
||||
- name: set_fact rgw_instances without rgw multisite
|
||||
|
|
Loading…
Reference in New Issue