
As we are using ansible 2.0, we should move from sudo to become to avoid deprecation. Change-Id: Ia084759b9c38f5c045ab14eab3af63a2ad33069f Closes-bug: 1547430
8 lines
358 B
YAML
8 lines
358 B
YAML
- hosts: [{{host}}]
|
|
become: 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
|