
With the addition ofa8b256cad6
and3791692021
we can have stockpile set the var so that's one less var for the user to set. Change-Id: Ic0e31549685d0f66fe09b4dc1694945f3071b873
34 lines
811 B
YAML
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'
|
|
|