blob: 4f2db5e7ba75f180511e91fca7c62c9a908e23f1 [file] [log] [blame]
---
- hosts: 127.0.0.1
connection: local
tasks:
- keystone_user:
endpoint={{ endpoint }}
login_user={{ admin_user }}
login_password={{ admin_password }}
login_tenant_name={{ admin_tenant }}
user="{{ name }}"
email={{ email }}
password={{ password }}
tenant={{ tenant }}
{% for role in roles %}
- keystone_user: endpoint={{ endpoint}} login_user={{ admin_user }} login_password={{ admin_password }} login_tenant_name={{ admin_tenant }} user="{{ name }}" role={{ role }} tenant={{ tenant }}
{% endfor %}