6 lines
243 B
YAML
6 lines
243 B
YAML
- hosts: [{{ ip }}]
|
|
sudo: yes
|
|
tasks:
|
|
- name: keystone role
|
|
keystone_user: endpoint=http://{{keystone_host}}:{{keystone_port}}/v2.0/ token={{admin_token}} user={{user_name}} tenant={{tenant_name}} role={{role_name}} state=present
|