
As we are using ansible 2.0, we should move from sudo to become to avoid deprecation. Change-Id: Ia084759b9c38f5c045ab14eab3af63a2ad33069f Closes-bug: 1547430
11 lines
278 B
YAML
11 lines
278 B
YAML
- hosts: [{{ host }}]
|
|
become: yes
|
|
vars:
|
|
tenant: {{tenant}}
|
|
user_name: {{user_name}}
|
|
password: {{password}}
|
|
keystone_host: {{keystone_host}}
|
|
keystone_port: {{keystone_port}}
|
|
tasks:
|
|
- template: src={{templates_dir}}/openrc.template dest=/root/openrc
|