Sapan Bhatia | e355615 | 2014-11-19 15:26:11 -0500 | [diff] [blame] | 1 | --- |
2 | - hosts: 127.0.0.1 | ||||
3 | connection: local | ||||
4 | tasks: | ||||
5 | - keystone_user: endpoint={{ endpoint }} login_user={{ admin_user }} login_password={{ admin_password }} login_tenant_name={{ admin_tenant }} tenant={{ tenant }} tenant_description="{{ tenant_description }}" | ||||
6 | {% for role in roles %} | ||||
7 | - keystone_user: endpoint={{ endpoint}} login_user={{ admin_user }} login_password={{ admin_password }} login_tenant_name={{ admin_tenant }} user="{{ name }}" role={{ role }} tenant={{ tenant }} | ||||
8 | {% endfor %} |