我正在使用ansijet
自动化ansible playbook按钮点击运行.该手册将停止AWS上正在运行的实例.如果从命令行手动运行,则playbook运行良好并执行任务.但是当通过Web界面运行时ansijet
,遇到以下错误
Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in "/tmp". Failed command was: mkdir -p $HOME/.ansible/tmp/ansible-tmp-1390414200.76-192986604554742 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1390414200.76-192986604554742 && echo $HOME/.ansible/tmp/ansible-tmp-1390414200.76-192986604554742, exited with result 1:
Run Code Online (Sandbox Code Playgroud)
以下是ansible.cfg
配置.
# some basic default values...
inventory = /etc/ansible/hosts
#library = /usr/share/my_modules/
remote_tmp = $HOME/.ansible/tmp/
pattern = * …
Run Code Online (Sandbox Code Playgroud)