browbeat/ansible/gather/stockpile.yml
agopi 0b56097272 Adding stockpile to collect data
This would facilitate browbeat users to take advantage of
work being done wrt browbench utilities.

To use stockpile just update metadata_playbook to
ansible/gather/stockpile_gather.yml

Change-Id: I4c12920007f66bc3378439b437676e4cb162b082
2018-11-13 21:52:40 +00:00

17 lines
418 B
YAML

---
- hosts: stockpile
tasks:
- name: setting fact for metadata folder
set_fact:
md_output_path: "{{ browbeat_path }}/metadata/machine_facts.json"
- import_playbook: stockpile/stockpile.yml
vars:
stockpile_output_path: "{{ md_output_path }}"
- hosts: stockpile
tasks:
- name: run prescribe
command: python {{ browbeat_path }}/browbeat/prescribe.py {{ browbeat_path }}/metadata