我使用ansible在Debian上安装node.js和npm,遵循的Backports部分中的步骤。shell: curl https://www.npmjs.org/install.sh | sh creates=/usr/bin/npm
直到我试图启用ansiblesh: cannot open /dev/tty: No such device or
当我尝试使用并将下面的任务粘贴到我的playbook.yml文件中时,我会得到一个错误。composer: command=install working_dir=/var/www/htmlERROR: composer is not a legal parameter in an Ansibletask or handler
Ansible failed to complete successfully.经过一些调查后,我在命令行上运行了“anisble list”来查看可用的模块