Merge "Move ansible hosts file as a constant"

This commit is contained in:
Zuul 2020-04-16 00:58:09 +00:00 committed by Gerrit Code Review
commit 18f20b7537
2 changed files with 2 additions and 1 deletions

View File

@ -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'

View File

@ -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):