58dbf4893c
Change-Id: I5e042cbfe341e4802bf5e14a9e05c8f7c108f866
27 lines
573 B
YAML
27 lines
573 B
YAML
---
|
|
#
|
|
# Playbook to install pbench on undercloud/overcloud
|
|
#
|
|
|
|
- hosts: undercloud
|
|
remote_user: stack
|
|
gather_facts: false
|
|
vars:
|
|
ansible_sudo: true
|
|
undercloud: true
|
|
roles:
|
|
- common
|
|
- pbench
|
|
|
|
- hosts: controller:compute
|
|
remote_user: heat-admin
|
|
gather_facts: false
|
|
vars:
|
|
ansible_sudo: true
|
|
undercloud: false
|
|
undercloud_root_ssh_key: "{{ lookup('file', 'roles/pbench/files/undercloud_root_id_rsa.pub') }}"
|
|
undercloud_stack_ssh_key: "{{ lookup('file', 'roles/pbench/files/undercloud_stack_id_rsa.pub') }}"
|
|
roles:
|
|
- common
|
|
- pbench
|