21 lines
527 B
YAML
21 lines
527 B
YAML
- hosts: [{{ ip }}]
|
|
sudo: yes
|
|
vars:
|
|
ip: {{ip}}
|
|
port: {{port}}
|
|
admin_port: {{admin_port}}
|
|
tasks:
|
|
- name: remove keystone service and endpoint
|
|
keystone_service:
|
|
token: {{admin_token}}
|
|
name: {{name}}
|
|
type: {{type}}
|
|
description: {{description}}
|
|
publicurl: {{publicurl}}
|
|
internalurl: {{internalurl}}
|
|
adminurl: {{adminurl}}
|
|
region: "RegionOne"
|
|
state: present
|
|
endpoint: http://{{keystone_host}}:{{keystone_admin_port}}/v2.0/
|
|
|