browbeat/ansible/gather/site.yml
Sindhur Malleni 63d368c69d WIP - Functionality to add hardware, OS specific metadata
+ Trying to get OSP specific data
+ Pulling neutron facts
+ Nova
+ Adding compute to hardware
+ Adding undercloud
+ (rook) Patch to Metadata.py
+ Getting Metadata in required form
+ Splitting playbook into roles
+ (rook) Patching
+ Generating separate metadata files
+ Running script through ansible
+ Passing metadata file location from playbook per rook
+ Per node ovs version

Change-Id: I8202b7702ba6e124356447405f7baacd8a046b95
2016-04-19 16:14:46 -04:00

33 lines
608 B
YAML

---
- hosts: compute
remote_user: "{{ host_remote_user }}"
become: true
roles:
- compute
- hosts: controller
remote_user: "{{ host_remote_user }}"
become: true
roles:
- nova
- neutron
- mysql
- rabbitmq
- hosts: undercloud
remote_user: "{{ local_remote_user }}"
become: true
roles:
- undercloud
- hosts: localhost
become: true
tasks:
- name: Dump all vars
local_action: template src=dump_facts.j2 dest={{ browbeat_path }}/machine_facts.json
- name: Generate metadata jsons
shell : python {{ browbeat_path }}/lib/Metadata.py {{ browbeat_path }}