solar/resources/keystone_tenant/actions/run.yml
2015-07-17 10:21:44 +00:00

8 lines
300 B
YAML

- hosts: [{{ ip }}]
sudo: yes
tasks:
- name: install python-keystoneclient
shell: apt-get install python-keystoneclient
- name: keystone tenant
keystone_user: endpoint=http://{{keystone_host}}:{{keystone_port}}/v2.0/ token={{admin_token}} tenant={{tenant_name}} state=present