diff --git a/ansible/roles/aodh/tasks/register.yml b/ansible/roles/aodh/tasks/register.yml index 3ffc95c578..2f722f1060 100644 --- a/ansible/roles/aodh/tasks/register.yml +++ b/ansible/roles/aodh/tasks/register.yml @@ -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 diff --git a/ansible/roles/barbican/tasks/register.yml b/ansible/roles/barbican/tasks/register.yml index dab2fd11dc..4fa214c42f 100644 --- a/ansible/roles/barbican/tasks/register.yml +++ b/ansible/roles/barbican/tasks/register.yml @@ -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,10 +31,6 @@ 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 - name: Creating default barbican roles diff --git a/ansible/roles/ceilometer/tasks/register.yml b/ansible/roles/ceilometer/tasks/register.yml index 87ba09d075..b05b9ad3c0 100644 --- a/ansible/roles/ceilometer/tasks/register.yml +++ b/ansible/roles/ceilometer/tasks/register.yml @@ -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 diff --git a/ansible/roles/cinder/tasks/register.yml b/ansible/roles/cinder/tasks/register.yml index b3b2f33fb4..43828d5c32 100644 --- a/ansible/roles/cinder/tasks/register.yml +++ b/ansible/roles/cinder/tasks/register.yml @@ -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 diff --git a/ansible/roles/cloudkitty/tasks/register.yml b/ansible/roles/cloudkitty/tasks/register.yml index f7f340bdba..497a38838e 100644 --- a/ansible/roles/cloudkitty/tasks/register.yml +++ b/ansible/roles/cloudkitty/tasks/register.yml @@ -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 diff --git a/ansible/roles/congress/tasks/register.yml b/ansible/roles/congress/tasks/register.yml index 8034e6044d..1ea06e6611 100644 --- a/ansible/roles/congress/tasks/register.yml +++ b/ansible/roles/congress/tasks/register.yml @@ -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 diff --git a/ansible/roles/designate/tasks/register.yml b/ansible/roles/designate/tasks/register.yml index 297c5ce539..2d5b310d79 100644 --- a/ansible/roles/designate/tasks/register.yml +++ b/ansible/roles/designate/tasks/register.yml @@ -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 diff --git a/ansible/roles/freezer/tasks/register.yml b/ansible/roles/freezer/tasks/register.yml index 3216c974d4..8cb204ec11 100644 --- a/ansible/roles/freezer/tasks/register.yml +++ b/ansible/roles/freezer/tasks/register.yml @@ -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 diff --git a/ansible/roles/glance/tasks/register.yml b/ansible/roles/glance/tasks/register.yml index 4d05145814..54db8f90df 100644 --- a/ansible/roles/glance/tasks/register.yml +++ b/ansible/roles/glance/tasks/register.yml @@ -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 diff --git a/ansible/roles/gnocchi/tasks/register.yml b/ansible/roles/gnocchi/tasks/register.yml index a50f3a4d5d..8b092e662c 100644 --- a/ansible/roles/gnocchi/tasks/register.yml +++ b/ansible/roles/gnocchi/tasks/register.yml @@ -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 diff --git a/ansible/roles/heat/tasks/register.yml b/ansible/roles/heat/tasks/register.yml index 3c93203f30..cdb0d6819b 100644 --- a/ansible/roles/heat/tasks/register.yml +++ b/ansible/roles/heat/tasks/register.yml @@ -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 diff --git a/ansible/roles/ironic/tasks/register.yml b/ansible/roles/ironic/tasks/register.yml index dee5577511..34506f3237 100644 --- a/ansible/roles/ironic/tasks/register.yml +++ b/ansible/roles/ironic/tasks/register.yml @@ -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'] diff --git a/ansible/roles/karbor/tasks/register.yml b/ansible/roles/karbor/tasks/register.yml index 9c6f22e020..e5057f8aa5 100644 --- a/ansible/roles/karbor/tasks/register.yml +++ b/ansible/roles/karbor/tasks/register.yml @@ -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 diff --git a/ansible/roles/keystone/tasks/register.yml b/ansible/roles/keystone/tasks/register.yml index a322334adf..ac86767d67 100644 --- a/ansible/roles/keystone/tasks/register.yml +++ b/ansible/roles/keystone/tasks/register.yml @@ -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 diff --git a/ansible/roles/kuryr/tasks/register.yml b/ansible/roles/kuryr/tasks/register.yml index da5136ad6a..1d6a271c89 100644 --- a/ansible/roles/kuryr/tasks/register.yml +++ b/ansible/roles/kuryr/tasks/register.yml @@ -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 diff --git a/ansible/roles/magnum/tasks/register.yml b/ansible/roles/magnum/tasks/register.yml index dee7a41753..e022ebc9e9 100644 --- a/ansible/roles/magnum/tasks/register.yml +++ b/ansible/roles/magnum/tasks/register.yml @@ -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 diff --git a/ansible/roles/manila/tasks/register.yml b/ansible/roles/manila/tasks/register.yml index 7c109819f6..00446b52a5 100644 --- a/ansible/roles/manila/tasks/register.yml +++ b/ansible/roles/manila/tasks/register.yml @@ -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 diff --git a/ansible/roles/mistral/tasks/register.yml b/ansible/roles/mistral/tasks/register.yml index 0ae6911c96..eb8b4b36fc 100644 --- a/ansible/roles/mistral/tasks/register.yml +++ b/ansible/roles/mistral/tasks/register.yml @@ -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 diff --git a/ansible/roles/murano/tasks/register.yml b/ansible/roles/murano/tasks/register.yml index cd3c028b7e..484012935b 100644 --- a/ansible/roles/murano/tasks/register.yml +++ b/ansible/roles/murano/tasks/register.yml @@ -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 diff --git a/ansible/roles/neutron/tasks/register.yml b/ansible/roles/neutron/tasks/register.yml index 9903b7c6f4..3cefe75e11 100644 --- a/ansible/roles/neutron/tasks/register.yml +++ b/ansible/roles/neutron/tasks/register.yml @@ -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 diff --git a/ansible/roles/nova/tasks/register.yml b/ansible/roles/nova/tasks/register.yml index ff61bc1df9..847fbf0188 100644 --- a/ansible/roles/nova/tasks/register.yml +++ b/ansible/roles/nova/tasks/register.yml @@ -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 diff --git a/ansible/roles/octavia/tasks/register.yml b/ansible/roles/octavia/tasks/register.yml index 21b391cf95..7f5d1de491 100644 --- a/ansible/roles/octavia/tasks/register.yml +++ b/ansible/roles/octavia/tasks/register.yml @@ -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 diff --git a/ansible/roles/panko/tasks/register.yml b/ansible/roles/panko/tasks/register.yml index 96956d13ed..498de70566 100644 --- a/ansible/roles/panko/tasks/register.yml +++ b/ansible/roles/panko/tasks/register.yml @@ -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 diff --git a/ansible/roles/sahara/tasks/register.yml b/ansible/roles/sahara/tasks/register.yml index cdb80bc8a2..eea8a0168f 100644 --- a/ansible/roles/sahara/tasks/register.yml +++ b/ansible/roles/sahara/tasks/register.yml @@ -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 diff --git a/ansible/roles/searchlight/tasks/register.yml b/ansible/roles/searchlight/tasks/register.yml index bd656ab92a..c331ed50b9 100644 --- a/ansible/roles/searchlight/tasks/register.yml +++ b/ansible/roles/searchlight/tasks/register.yml @@ -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 diff --git a/ansible/roles/senlin/tasks/register.yml b/ansible/roles/senlin/tasks/register.yml index f308727c1a..2ad0cfd4bd 100644 --- a/ansible/roles/senlin/tasks/register.yml +++ b/ansible/roles/senlin/tasks/register.yml @@ -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 diff --git a/ansible/roles/solum/tasks/register.yml b/ansible/roles/solum/tasks/register.yml index 1f7ab49bd7..eda3b906d0 100644 --- a/ansible/roles/solum/tasks/register.yml +++ b/ansible/roles/solum/tasks/register.yml @@ -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 diff --git a/ansible/roles/swift/tasks/register.yml b/ansible/roles/swift/tasks/register.yml index ad1edc8be7..1ebe648901 100644 --- a/ansible/roles/swift/tasks/register.yml +++ b/ansible/roles/swift/tasks/register.yml @@ -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 diff --git a/ansible/roles/tacker/tasks/register.yml b/ansible/roles/tacker/tasks/register.yml index bf11ef5536..8da2eb1696 100644 --- a/ansible/roles/tacker/tasks/register.yml +++ b/ansible/roles/tacker/tasks/register.yml @@ -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 diff --git a/ansible/roles/trove/tasks/register.yml b/ansible/roles/trove/tasks/register.yml index 635adb5d86..e48bbffe55 100644 --- a/ansible/roles/trove/tasks/register.yml +++ b/ansible/roles/trove/tasks/register.yml @@ -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 diff --git a/ansible/roles/watcher/tasks/register.yml b/ansible/roles/watcher/tasks/register.yml index 85f5ad7157..e59dcf0a8a 100644 --- a/ansible/roles/watcher/tasks/register.yml +++ b/ansible/roles/watcher/tasks/register.yml @@ -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