blob: 95cdba3320277a9e7e69d0ed9d187caa4b9e46f8 [file] [log] [blame]
---
- hosts: 127.0.0.1
connection: local
tasks:
- keystone_user:
endpoint={{ endpoint }}
user="{{ name }}"
email={{ email }}
password={{ password }}
login_user={{ admin_user }}
login_password={{ admin_password }}
login_tenant_name={{ admin_tenant }}
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 %}