Use deb package
This commit is contained in:
parent
85c45f58c0
commit
29da07e870
2
main.yml
2
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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user