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: |
| 6 | endpoint={{ endpoint }} |
| 7 | user="{{ name }}" |
| 8 | email={{ email }} |
| 9 | password={{ password }} |
| 10 | login_user={{ admin_user }} |
| 11 | login_password={{ admin_password }} |
| 12 | login_tenant_name={{ admin_tenant }} |
| 13 | tenant={{ tenant }} |
| 14 | {% for role in roles %} |
| 15 | - keystone_user: endpoint={{ endpoint}} login_user={{ admin_user }} login_password={{ admin_password }} login_tenant_name={{ admin_tenant }} user="{{ name }}" role={{ role }} tenant={{ tenant }} |
| 16 | {% endfor %} |