solar-resources/resources/keystone_user/actions/run.yaml
2015-09-15 12:20:12 +02:00

8 lines
356 B
YAML

- hosts: [{{host}}]
sudo: yes
tasks:
- name: install python-keystoneclient
shell: apt-get install python-keystoneclient
- name: keystone user
keystone_user: endpoint=http://{{ keystone_host }}:{{ keystone_port }}/v2.0/ token={{ admin_token }} user={{ user_name }} password={{ user_password }} tenant={{ tenant_name }} state=present