browbeat/ansible/gather/stockpile.yml
Masco Kaliyamoorthy 461b016f13 use tripleo-ansible-inventry to generate hosts
Change-Id: I54d6eba518910e6651758bc7d46624bafacaef6c
2021-03-30 21:19:14 +05:30

34 lines
811 B
YAML

---
#
# For podman containers change "container_cli" configuration to podman
#
- hosts: Stockpile
tasks:
- name: setting facts needed
set_fact:
md_output_path: "{{ browbeat_path }}/metadata/machine_facts.json"
stockpile_user: "{{ browbeat_user }}"
- hosts: overcloud
tasks:
- name: setting facts
set_fact:
overcloud_user: "{{ host_remote_user }}"
- hosts: Undercloud
tasks:
- name: setting facts
set_fact:
undercloud_user: "{{ local_remote_user }}"
- import_playbook: stockpile/config/featureset001.yml
vars:
stockpile_output_path: "{{ md_output_path }}"
- hosts: Stockpile
tasks:
- name: run prescribe
command: '"{{ ansible_python.executable }}" {{ browbeat_path }}/browbeat/prescribe.py {{ browbeat_path }}/metadata'