Keystone related resources
This commit is contained in:
5
resources/keystone_tenant/actions/remove.yml
Normal file
5
resources/keystone_tenant/actions/remove.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- hosts: [{{ ip }}]
|
||||
sudo: yes
|
||||
tasks:
|
||||
- name: keystone tenant
|
||||
keystone_user: endpoint=http://{{keystone_host}}:{{keystone_port}}/v2.0/ token={{admin_token}} tenant={{tenant_name}} state=absent
|
||||
5
resources/keystone_tenant/actions/run.yml
Normal file
5
resources/keystone_tenant/actions/run.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- hosts: [{{ ip }}]
|
||||
sudo: yes
|
||||
tasks:
|
||||
- name: keystone tenant
|
||||
keystone_user: endpoint=http://{{keystone_host}}:{{keystone_port}}/v2.0/ token={{admin_token}} tenant={{tenant_name}} state=present
|
||||
27
resources/keystone_tenant/meta.yaml
Normal file
27
resources/keystone_tenant/meta.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
id: keystone_user
|
||||
handler: ansible
|
||||
version: 1.0.0
|
||||
input:
|
||||
keystone_host:
|
||||
schema: str!
|
||||
value:
|
||||
keystone_port:
|
||||
schema: int!
|
||||
value:
|
||||
admin_token:
|
||||
schema: str!
|
||||
value:
|
||||
tenant_name:
|
||||
schema: str!
|
||||
value:
|
||||
ip:
|
||||
schema: str!
|
||||
value:
|
||||
ssh_key:
|
||||
schema: str!
|
||||
value:
|
||||
ssh_user:
|
||||
schema: str!
|
||||
value:
|
||||
|
||||
tags: [resource/keystone_tenant, resources/keystone]
|
||||
Reference in New Issue
Block a user