Neutron Post Install Uses Deprecated Keystone Client, Sets Needless Fact
neutron_post_install.yml uses the deprecated keystone client to fetch the service tenant ID, and save it in a fact for presumably future use. But upon further inspection, the fact is not even used anywhere anymore. Change-Id: I32ec6df7161c28ec7007e9ad331a67e48884f80f Closes-Bug: #1506574
This commit is contained in:
@@ -13,19 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Ensure service tenant
|
||||
shell: |
|
||||
. {{ ansible_env.HOME }}/openrc && keystone tenant-list | awk '/service/ {print $2}'
|
||||
register: service_id
|
||||
tags:
|
||||
- neutron-config
|
||||
|
||||
- name: Set service tenant id
|
||||
set_fact:
|
||||
nova_admin_tenant_id: "{{ service_id.stdout }}"
|
||||
tags:
|
||||
- neutron-config
|
||||
|
||||
- name: Copy neutron config
|
||||
config_template:
|
||||
src: "{{ item.src }}"
|
||||
|
||||
Reference in New Issue
Block a user