diff --git a/main.yml b/main.yml index e179bc83..613d125c 100644 --- a/main.yml +++ b/main.yml @@ -14,7 +14,7 @@ - apt: name=python-pudb state=present #- apt: name=python-pip state=present - shell: pip install docker-py==1.1.0 - - shell: pip install python-keystoneclient==1.5.0 + - apt: name=python-keystoneclient state=present - apt: name=redis-server state=present #- apt: name=python-redis state=present diff --git a/resources/keystone_role/actions/run.yml b/resources/keystone_role/actions/run.yml index 4d3df76c..eb30523b 100644 --- a/resources/keystone_role/actions/run.yml +++ b/resources/keystone_role/actions/run.yml @@ -2,6 +2,6 @@ sudo: yes tasks: - name: install python-keystoneclient - shell: pip install python-keystoneclient + shell: apt-get install python-keystoneclient - name: keystone role keystone_user: endpoint=http://{{keystone_host}}:{{keystone_port}}/v2.0/ token={{admin_token}} user={{user_name}} tenant={{tenant_name}} role={{role_name}} state=present diff --git a/resources/keystone_tenant/actions/run.yml b/resources/keystone_tenant/actions/run.yml index 1cf2597f..f9e72527 100644 --- a/resources/keystone_tenant/actions/run.yml +++ b/resources/keystone_tenant/actions/run.yml @@ -2,6 +2,6 @@ sudo: yes tasks: - name: install python-keystoneclient - shell: pip install python-keystoneclient + shell: apt-get install python-keystoneclient - name: keystone tenant keystone_user: endpoint=http://{{keystone_host}}:{{keystone_port}}/v2.0/ token={{admin_token}} tenant={{tenant_name}} state=present diff --git a/resources/keystone_user/actions/run.yml b/resources/keystone_user/actions/run.yml index eb3c3743..02f2b337 100644 --- a/resources/keystone_user/actions/run.yml +++ b/resources/keystone_user/actions/run.yml @@ -2,6 +2,6 @@ sudo: yes tasks: - name: install python-keystoneclient - shell: pip 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