Merge "Move ansible hosts file as a constant"
This commit is contained in:
commit
18f20b7537
|
@ -40,6 +40,7 @@ UNDERCLOUD_LOG_FILE = "install-undercloud.log"
|
|||
OVERCLOUD_NETWORKS_FILE = "network_data.yaml"
|
||||
STANDALONE_NETWORKS_FILE = "/dev/null"
|
||||
UNDERCLOUD_NETWORKS_FILE = "network_data_undercloud.yaml"
|
||||
ANSIBLE_HOSTS_FILENAME = "hosts.yaml"
|
||||
|
||||
# The name of the file which holds the plan environment contents
|
||||
PLAN_ENVIRONMENT = 'plan-environment.yaml'
|
||||
|
|
|
@ -352,7 +352,7 @@ def run_ansible_playbook(playbook, inventory, workdir, playbook_dir=None,
|
|||
return ansible_runner.utils.dump_artifact(
|
||||
inventory,
|
||||
ansible_artifact_path,
|
||||
'hosts'
|
||||
constants.ANSIBLE_HOSTS_FILENAME
|
||||
)
|
||||
|
||||
def _running_ansible_msg(playbook, timeout=None):
|
||||
|
|
Loading…
Reference in New Issue