Merge "Don't set transport=local in ansible.cfg"

This commit is contained in:
Zuul 2019-10-10 01:47:47 +00:00 committed by Gerrit Code Review
commit 8cf2f8771b
1 changed files with 2 additions and 4 deletions

View File

@ -28,7 +28,7 @@ from tripleo_common.actions import ansible
class GenerateAnsibleConfig(command.Command):
"""Generate the default ansible.cfg for UC/AIO-standalone deployments."""
"""Generate the default ansible.cfg for deployments."""
log = logging.getLogger(__name__ + ".GenerateAnsibleConfig")
@ -64,8 +64,6 @@ class GenerateAnsibleConfig(command.Command):
'match the user name executing this command!') %
parsed_args.deployment_user)
# FIXME(bogdando): unhardcode key/transport for future multi-node
ansible.write_default_ansible_cfg(parsed_args.output_dir,
parsed_args.deployment_user,
ssh_private_key=None,
transport='local')
ssh_private_key=None)