Skip to content

Commit f51a944

Browse files
committed
fix known_hosts cli-argument quotes (fix #69)
1 parent 9b2ed34 commit f51a944

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
* Cleanup job-stati on startup
88
* Fix Log-view expand-on-waiting behavior
9+
* Fix known_hosts cli-argument
910

1011
----
1112

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ crontab
2323
# ansible
2424
ansible-core
2525
# ansible-runner
26-
ansibleguy-runner==2.4.0.post4
26+
ansibleguy-runner==2.4.0.post5
2727

2828
# config
2929
PyYAML

src/ansibleguy-webui/aw/execute/play_util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def _commandline_arguments(job: Job, execution: JobExecution, creds: BaseJobCred
5151
' '.join(cmd_arguments).find('ansible_ssh_extra_args') == -1:
5252
if Path(config['path_ssh_known_hosts']).is_file():
5353
cmd_arguments.append(
54-
f"-e \"ansible_ssh_extra_args='-o UserKnownHostsFile={config['path_ssh_known_hosts']}'\""
54+
f"-e 'ansible_ssh_extra_args=\"-o UserKnownHostsFile={config['path_ssh_known_hosts']}\"'"
5555
)
5656

5757
else:

0 commit comments

Comments
 (0)