Ansible win_chocolatey install_args
我尝试使用 ansible 在 Windows 主机上安装 oracle sql Developer 并执行此任务:
- name: Install oracle-sql-developer
win_chocolatey:
name: oracle-sql-developer
version: '20.4.1.20210328'
state: present
install_args: "--params \"'/Username:{{ oracle_username }} /Password:{{ oracle_password }}'\""
安装需要 /用户名和 /密码参数,但它不起作用。我尝试了很多方法来传递这个论点,但它也不起作用。我总是收到此错误消息:
"ERROR: An Oracle account is required to download SQL Developer",
"",
" * Provide your Oracle credentials as package params to the installer and",
" retry the installation:",
"",
" choco install oracle-sql-developer --params \"'/Username:{userName} /Password:{password}'\""
如何才能正确获得这些参数?
I try to install oracle sql developer on windows host with ansible with this task:
- name: Install oracle-sql-developer
win_chocolatey:
name: oracle-sql-developer
version: '20.4.1.20210328'
state: present
install_args: "--params \"'/Username:{{ oracle_username }} /Password:{{ oracle_password }}'\""
The installation need /Username and /Password arguments but it's not working. I try many way to pass this arguments, but it doesn't work either. I always get this error message:
"ERROR: An Oracle account is required to download SQL Developer",
"",
" * Provide your Oracle credentials as package params to the installer and",
" retry the installation:",
"",
" choco install oracle-sql-developer --params \"'/Username:{userName} /Password:{password}'\""
How can I get these arguments right?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论