Remove unnecessary until in register.yml file

Change-Id: I1577cc3afef4dadd3a188c8ba749c9cdfad313ae
This commit is contained in:
Jeffrey Zhang 2017-02-03 21:03:01 +08:00
parent d7bc9a01ad
commit 38ad05a872
31 changed files with 0 additions and 276 deletions

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_aodh_auth }}' }}"
module_extra_vars:
openstack_aodh_auth: "{{ openstack_aodh_auth }}"
register: aodh_endpoint
until: aodh_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ aodh_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_aodh_auth }}' }}"
module_extra_vars:
openstack_aodh_auth: "{{ openstack_aodh_auth }}"
register: aodh_user
until: aodh_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_barbican_auth }}' }}"
module_extra_vars:
openstack_barbican_auth: "{{ openstack_barbican_auth }}"
register: barbican_endpoint
until: barbican_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ barbican_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_barbican_auth }}' }}"
module_extra_vars:
openstack_barbican_auth: "{{ openstack_barbican_auth }}"
register: barbican_user
until: barbican_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_ceilometer_auth }}' }}"
module_extra_vars:
openstack_ceilometer_auth: "{{ openstack_ceilometer_auth }}"
register: ceilometer_endpoint
until: ceilometer_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ ceilometer_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_ceilometer_auth }}' }}"
module_extra_vars:
openstack_ceilometer_auth: "{{ openstack_ceilometer_auth }}"
register: ceilometer_user
until: ceilometer_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_cinder_auth }}' }}"
module_extra_vars:
openstack_cinder_auth: "{{ openstack_cinder_auth }}"
register: cinder_endpoint
until: cinder_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ cinder_admin_endpoint }}', 'service_name': 'cinder', 'service_type': 'volume'}
@ -38,8 +34,4 @@
auth: "{{ '{{ openstack_cinder_auth }}' }}"
module_extra_vars:
openstack_cinder_auth: "{{ openstack_cinder_auth }}"
register: cinder_user
until: cinder_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_cloudkitty_auth }}' }}"
module_extra_vars:
openstack_cloudkitty_auth: "{{ openstack_cloudkitty_auth }}"
register: cloudkitty_endpoint
until: cloudkitty_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ cloudkitty_admin_endpoint }}'}
@ -35,10 +31,6 @@
auth: "{{ '{{ openstack_cloudkitty_auth }}' }}"
module_extra_vars:
openstack_cloudkitty_auth: "{{ openstack_cloudkitty_auth }}"
register: cloudkitty_user
until: cloudkitty_user|success
retries: 10
delay: 5
run_once: True
- name: Creating the rating role
@ -49,8 +41,4 @@
auth: "{{ '{{ openstack_cloudkitty_auth }}' }}"
module_extra_vars:
openstack_cloudkitty_auth: "{{ openstack_cloudkitty_auth }}"
register: cloudkitty_role
until: cloudkitty_role|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_congress_auth }}' }}"
module_extra_vars:
openstack_congress_auth: "{{ openstack_congress_auth }}"
register: congress_endpoint
until: congress_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ congress_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_congress_auth }}' }}"
module_extra_vars:
openstack_congress_auth: "{{ openstack_congress_auth }}"
register: congress_user
until: congress_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_designate_auth }}' }}"
module_extra_vars:
openstack_designate_auth: "{{ openstack_designate_auth }}"
register: designate_endpoint
until: designate_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ designate_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_designate_auth }}' }}"
module_extra_vars:
openstack_designate_auth: "{{ openstack_designate_auth }}"
register: designate_user
until: designate_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_freezer_auth }}' }}"
module_extra_vars:
openstack_freezer_auth: "{{ openstack_freezer_auth }}"
register: freezer_endpoint
until: freezer_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ freezer_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_freezer_auth }}' }}"
module_extra_vars:
openstack_freezer_auth: "{{ openstack_freezer_auth }}"
register: freezer_user
until: freezer_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_glance_auth }}' }}"
module_extra_vars:
openstack_glance_auth: "{{ openstack_glance_auth }}"
register: glance_endpoint
until: glance_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ glance_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_glance_auth }}' }}"
module_extra_vars:
openstack_glance_auth: "{{ openstack_glance_auth }}"
register: glance_user
until: glance_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_gnocchi_auth }}' }}"
module_extra_vars:
openstack_gnocchi_auth: "{{ openstack_gnocchi_auth }}"
register: gnocchi_endpoint
until: gnocchi_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ gnocchi_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_gnocchi_auth }}' }}"
module_extra_vars:
openstack_gnocchi_auth: "{{ openstack_gnocchi_auth }}"
register: gnocchi_user
until: gnocchi_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_heat_auth }}' }}"
module_extra_vars:
openstack_heat_auth: "{{ openstack_heat_auth }}"
register: heat_endpoint
until: heat_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ heat_admin_endpoint }}', 'service_name': 'heat', 'service_type': 'orchestration'}
@ -38,10 +34,6 @@
auth: "{{ '{{ openstack_heat_auth }}' }}"
module_extra_vars:
openstack_heat_auth: "{{ openstack_heat_auth }}"
register: heat_user
until: heat_user|success
retries: 10
delay: 5
run_once: True
- name: Creating the heat_stack_user role
@ -52,10 +44,6 @@
auth: "{{ '{{ openstack_heat_auth }}' }}"
module_extra_vars:
openstack_heat_auth: "{{ openstack_heat_auth }}"
register: heat_stack_user_role_result
until: heat_stack_user_role_result|success
retries: 10
delay: 5
run_once: True
- name: Creating the heat_stack_owner role
@ -66,8 +54,4 @@
auth: "{{ '{{ openstack_heat_auth }}' }}"
module_extra_vars:
openstack_heat_auth: "{{ openstack_heat_auth }}"
register: heat_stack_owner_role_result
until: heat_stack_owner_role_result|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_ironic_auth }}' }}"
module_extra_vars:
openstack_ironic_auth: "{{ openstack_ironic_auth }}"
register: ironic_endpoint
until: ironic_endpoint|success
retries: 10
delay: 5
run_once: True
when: inventory_hostname in groups['ironic-api']
with_items:
@ -36,10 +32,6 @@
auth: "{{ '{{ openstack_ironic_auth }}' }}"
module_extra_vars:
openstack_ironic_auth: "{{ openstack_ironic_auth }}"
register: ironic_user
until: ironic_user|success
retries: 10
delay: 5
run_once: True
when: inventory_hostname in groups['ironic-api']
@ -57,10 +49,6 @@
auth: "{{ '{{ openstack_ironic_inspector_auth }}' }}"
module_extra_vars:
openstack_ironic_inspector_auth: "{{ openstack_ironic_inspector_auth }}"
register: ironic_inspector_endpoint
until: ironic_inspector_endpoint|success
retries: 10
delay: 5
run_once: True
when: inventory_hostname in groups['ironic-inspector']
with_items:
@ -80,9 +68,5 @@
auth: "{{ '{{ openstack_ironic_inspector_auth }}' }}"
module_extra_vars:
openstack_ironic_inspector_auth: "{{ openstack_ironic_inspector_auth }}"
register: ironic_inspector_user
until: ironic_inspector_user|success
retries: 10
delay: 5
run_once: True
when: inventory_hostname in groups['ironic-inspector']

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_karbor_auth }}' }}"
module_extra_vars:
openstack_karbor_auth: "{{ openstack_karbor_auth }}"
register: karbor_endpoint
until: karbor_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ karbor_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_karbor_auth }}' }}"
module_extra_vars:
openstack_karbor_auth: "{{ openstack_karbor_auth }}"
register: karbor_user
until: karbor_user|success
retries: 10
delay: 5
run_once: True

View File

@ -14,8 +14,4 @@
auth: "{{ '{{ openstack_keystone_auth }}' }}"
module_extra_vars:
openstack_keystone_auth: "{{ openstack_keystone_auth }}"
register: default_role
until: default_role|success
retries: 10
delay: 5
run_once: True

View File

@ -11,8 +11,4 @@
auth: "{{ '{{ openstack_kuryr_auth }}' }}"
module_extra_vars:
openstack_kuryr_auth: "{{ openstack_kuryr_auth }}"
register: kuryr_user
until: kuryr_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_magnum_auth }}' }}"
module_extra_vars:
openstack_magnum_auth: "{{ openstack_magnum_auth }}"
register: magnum_endpoint
until: magnum_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ magnum_admin_endpoint }}'}
@ -35,10 +31,6 @@
auth: "{{ '{{ openstack_magnum_auth }}' }}"
module_extra_vars:
openstack_magnum_auth: "{{ openstack_magnum_auth }}"
register: magnum_user
until: magnum_user|success
retries: 10
delay: 5
run_once: True
- name: Creating Magnum trustee domain
@ -50,10 +42,6 @@
auth: "{{ '{{ openstack_magnum_auth }}' }}"
module_extra_vars:
openstack_magnum_auth: "{{ openstack_magnum_auth }}"
register: trustee_domain
until: trustee_domain|success
retries: 10
delay: 5
run_once: True
- name: Setting Magnum trustee domain value
@ -70,10 +58,6 @@
auth: "{{ '{{ openstack_magnum_auth }}' }}"
module_extra_vars:
openstack_magnum_auth: "{{ openstack_magnum_auth }}"
register: trustee_user
until: trustee_user|success
retries: 10
delay: 5
run_once: True
- name: Creating Magnum trustee user role
@ -86,8 +70,4 @@
auth: "{{ '{{ openstack_magnum_auth }}' }}"
module_extra_vars:
openstack_magnum_auth: "{{ openstack_magnum_auth }}"
register: magnum_user_role_result
until: magnum_user_role_result|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_manila_auth }}' }}"
module_extra_vars:
openstack_manila_auth: "{{ openstack_manila_auth }}"
register: manila_endpoint
until: manila_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ manila_admin_endpoint }}', 'service_name': 'manila', 'service_type': 'share'}
@ -38,8 +34,4 @@
auth: "{{ '{{ openstack_manila_auth }}' }}"
module_extra_vars:
openstack_manila_auth: "{{ openstack_manila_auth }}"
register: manila_user
until: manila_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_mistral_auth }}' }}"
module_extra_vars:
openstack_mistral_auth: "{{ openstack_mistral_auth }}"
register: mistral_endpoint
until: mistral_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ mistral_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_mistral_auth }}' }}"
module_extra_vars:
openstack_mistral_auth: "{{ openstack_mistral_auth }}"
register: mistral_user
until: mistral_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_murano_auth }}' }}"
module_extra_vars:
openstack_murano_auth: "{{ openstack_murano_auth }}"
register: murano_endpoint
until: murano_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ murano_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_murano_auth }}' }}"
module_extra_vars:
openstack_murano_auth: "{{ openstack_murano_auth }}"
register: murano_user
until: murano_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_neutron_auth }}' }}"
module_extra_vars:
openstack_neutron_auth: "{{ openstack_neutron_auth }}"
register: neutron_endpoint
until: neutron_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ neutron_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_neutron_auth }}' }}"
module_extra_vars:
openstack_neutron_auth: "{{ openstack_neutron_auth }}"
register: neutron_user
until: neutron_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_nova_auth }}' }}"
module_extra_vars:
openstack_nova_auth: "{{ openstack_nova_auth }}"
register: nova_endpoint
until: nova_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'name': 'nova_legacy', 'service_type': 'compute_legacy', 'interface': 'admin', 'url': '{{ nova_legacy_admin_endpoint }}', 'description': 'OpenStack Compute Service (Legacy 2.0)'}
@ -42,10 +38,6 @@
auth: "{{ '{{ openstack_nova_auth }}' }}"
module_extra_vars:
openstack_nova_auth: "{{ openstack_nova_auth }}"
register: nova_user
until: nova_user|success
retries: 10
delay: 5
run_once: True
- name: Creating the placement project, user, and role

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_octavia_auth }}' }}"
module_extra_vars:
openstack_octavia_auth: "{{ openstack_octavia_auth }}"
register: octavia_endpoint
until: octavia_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ octavia_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_octavia_auth }}' }}"
module_extra_vars:
openstack_octavia_auth: "{{ openstack_octavia_auth }}"
register: octavia_user
until: octavia_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_panko_auth }}' }}"
module_extra_vars:
openstack_panko_auth: "{{ openstack_panko_auth }}"
register: panko_endpoint
until: panko_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ panko_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_panko_auth }}' }}"
module_extra_vars:
openstack_panko_auth: "{{ openstack_panko_auth }}"
register: panko_user
until: panko_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_sahara_auth }}' }}"
module_extra_vars:
openstack_sahara_auth: "{{ openstack_sahara_auth }}"
register: sahara_endpoint
until: sahara_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ sahara_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_sahara_auth }}' }}"
module_extra_vars:
openstack_sahara_auth: "{{ openstack_sahara_auth }}"
register: sahara_user
until: sahara_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_searchlight_auth }}' }}"
module_extra_vars:
openstack_searchlight_auth: "{{ openstack_searchlight_auth }}"
register: searchlight_endpoint
until: searchlight_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ searchlight_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_searchlight_auth }}' }}"
module_extra_vars:
openstack_searchlight_auth: "{{ openstack_searchlight_auth }}"
register: searchlight_user
until: searchlight_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_senlin_auth }}' }}"
module_extra_vars:
openstack_senlin_auth: "{{ openstack_senlin_auth }}"
register: senlin_endpoint
until: senlin_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ senlin_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_senlin_auth }}' }}"
module_extra_vars:
openstack_senlin_auth: "{{ openstack_senlin_auth }}"
register: senlin_user
until: senlin_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_solum_auth }}' }}"
module_extra_vars:
openstack_solum_auth: "{{ openstack_solum_auth }}"
register: solum_image_builder_endpoint
until: solum_image_builder_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ solum_image_builder_admin_endpoint }}'}
@ -37,10 +33,6 @@
auth: "{{ '{{ openstack_solum_auth }}' }}"
module_extra_vars:
openstack_solum_auth: "{{ openstack_solum_auth }}"
register: solum_application_deployment_endpoint
until: solum_application_deployment_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ solum_application_deployment_admin_endpoint }}'}
@ -59,8 +51,4 @@
auth: "{{ '{{ openstack_solum_auth }}' }}"
module_extra_vars:
openstack_solum_auth: "{{ openstack_solum_auth }}"
register: solum_user
until: solum_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_swift_auth }}' }}"
module_extra_vars:
openstack_swift_auth: "{{ openstack_swift_auth }}"
register: swift_endpoint
until: swift_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ swift_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_swift_auth }}' }}"
module_extra_vars:
openstack_swift_auth: "{{ openstack_swift_auth }}"
register: swift_user
until: swift_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_tacker_auth }}' }}"
module_extra_vars:
openstack_tacker_auth: "{{ openstack_tacker_auth }}"
register: tacker_endpoint
until: tacker_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ tacker_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_tacker_auth }}' }}"
module_extra_vars:
openstack_tacker_auth: "{{ openstack_tacker_auth }}"
register: tacker_user
until: tacker_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_trove_auth }}' }}"
module_extra_vars:
openstack_trove_auth: "{{ openstack_trove_auth }}"
register: trove_endpoint
until: trove_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ trove_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_trove_auth }}' }}"
module_extra_vars:
openstack_trove_auth: "{{ openstack_trove_auth }}"
register: trove_user
until: trove_user|success
retries: 10
delay: 5
run_once: True

View File

@ -13,10 +13,6 @@
auth: "{{ '{{ openstack_watcher_auth }}' }}"
module_extra_vars:
openstack_watcher_auth: "{{ openstack_watcher_auth }}"
register: watcher_endpoint
until: watcher_endpoint|success
retries: 10
delay: 5
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ watcher_admin_endpoint }}'}
@ -35,8 +31,4 @@
auth: "{{ '{{ openstack_watcher_auth }}' }}"
module_extra_vars:
openstack_watcher_auth: "{{ openstack_watcher_auth }}"
register: watcher_user
until: watcher_user|success
retries: 10
delay: 5
run_once: True